0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Commit Graph

10786 Commits

Author SHA1 Message Date
Chris Rebert
4037990237 Merge pull request #15154 from nickyod/affix-top-bug 2014-11-17 18:19:55 -08:00
Nick O'Donoghue
36b4f90f25 Fixes affix-top class not applying
Use scrollTop instead of colliderTop which uses the elements
offset().top, as the offset top does not account for padding.

This issue can be replicated by using a navbar-fixed-top and applying
relevant padding to the body. (A navbar-static-top with no padding on
the body does not encounter this issue)

Fixes #15078
Closes #15154 by merging it
2014-11-17 18:17:42 -08:00
Nick O'Donoghue
da79ab9488 add unit test for affix-top for padding issue 2014-11-17 18:17:40 -08:00
Chris Rebert
423825f506 Merge pull request #15161 from twbs/travis-lint
fix travis.yml lint errors
2014-11-17 15:49:07 -08:00
Chris Rebert
881f5fd5ca fix travis.yml lint errors 2014-11-17 15:38:03 -08:00
Heinrich Fenkart
c2abfc0a44 grunt 2014-11-17 18:57:02 +01:00
Heinrich Fenkart
6503cb0822 Revert "Follow-up to #13074: use spec syntax instead of deprecated mixins"
This reverts commit b10b373c60.

Resolves #14937.
2014-11-17 18:54:55 +01:00
Chris Rebert
c04f95032d Merge pull request #15156 from Quy/master
Fix spelling of necolas' last name
2014-11-17 08:31:51 -08:00
Quy Ton
347ad61010 Fix name spelling 2014-11-17 08:05:26 -08:00
Chris Rebert
03f35d2dab Since Safari has released new fixed versions, we're unlikely to take any further action on this. 2014-11-17 03:19:05 -08:00
Chris Rebert
450a9ece10 Merge pull request #15125 from patrickhlauke/docs-clean-up
Docs clean up - unnecessary role attributes, callout clarifications
2014-11-17 02:13:21 -08:00
Chris Rebert
8df9298b1e Merge pull request #15152 from twbs/fix-15144
honor wrap option in Carousel.getItemForDirection
[skip validator]
2014-11-17 01:43:22 -08:00
XhmikosR
d782eed426 Merge pull request #15129 from twbs/examples-img-alt
Specify `img` alternative text.
2014-11-17 11:31:21 +02:00
Chris Rebert
7876ebd2ed rm redundant role="button" from <button> 2014-11-16 16:34:28 -08:00
XhmikosR
1a2baf4873 Merge pull request #15139 from patrickhlauke/docs-button-section-restructure
Docs button section restructure
2014-11-16 17:42:33 +02:00
XhmikosR
5245bafb92 Merge pull request #15135 from hillai/patch-1
Add modal autofocus example
2014-11-16 17:42:05 +02:00
hillai
0ada807ce6 Add modal autofocus example 2014-11-16 16:48:08 +02:00
Chris Rebert
b7398bc9c4 honor wrap option in Carousel.getItemForDirection; fixes #15144 2014-11-15 22:43:20 -08:00
Chris Rebert
8008fe707e add unit tests for Carousel's 'wrap' option 2014-11-15 22:37:55 -08:00
Chris Rebert
939e759f69 Merge pull request #15150 from twbs/ios-8.1
upgrade iOS tests to 8.1
2014-11-15 21:33:02 -08:00
Chris Rebert
a7ae8c91f2 upgrade iOS tests to 8.1
[skip validator]
2014-11-15 21:28:11 -08:00
Chris Rebert
378f9d43ec Merge pull request #15149 from twbs/yosemite
upgrade OS X tests to Yosemite
2014-11-15 21:25:37 -08:00
Chris Rebert
eb93b5db5f upgrade OS X tests to Yosemite
[skip validator]
2014-11-15 21:20:45 -08:00
Patrick H. Lauke
cb8581580c Move button-tags section to start of button section 2014-11-15 00:26:22 +00:00
Patrick H. Lauke
25ef6ad625 Move context-specific callout to general tag usage 2014-11-15 00:25:13 +00:00
Chris Rebert
0c15270108 Merge pull request #15137 from twbs/split-inline-form
split .form-inline .input-group into separate docs example
[skip sauce]
2014-11-14 16:16:08 -08:00
Chris Rebert
61c6e186a9 Filed http://openradar.appspot.com/18987206
Refs #9774
2014-11-14 14:13:25 -08:00
Chris Rebert
729a115c88 split .form-inline .input-group into separate docs example 2014-11-14 12:03:54 -08:00
Heinrich Fenkart
a577f1922e Collapse: Use $.fn.children instead of > in selector
Fixes #15131.
2014-11-14 15:18:34 +01:00
Patrick H. Lauke
db4e5efb8f Fixes to scope
as discssued in
https://github.com/twbs/bootstrap/issues/15117#issuecomment-63029993

- added ``scope="row"`` to row headers
- made sure row headers are actual ``<th>`` elements
- removed ``scope="col"`` where it was redundant
- simplified table examples with (to me) unnecessary
``rowspan``/``colspan`` (unless you really want complex tables, in which
case we would need full-on ``id`` and ``headers`` attributes to make
sure each table cell has an explicit association with the related header
cells - overkill, in my opinion)
- one table (in typography) left header-less, as it's more or less presentational (though its structure is still important, hence not adding ``role="presentation"``)
2014-11-14 13:40:09 +00:00
Patrick H. Lauke
bab36220c9 Redundant role="navigation" on <nav>s
plus one example that still used the old <div role="navigation"> and a
fix-up of the callout as per
https://github.com/twbs/bootstrap/issues/15109
2014-11-14 10:52:57 +00:00
Patrick H. Lauke
25cac1ea9a Redundant role="form" on <form>s 2014-11-14 10:52:56 +00:00
Patrick H. Lauke
27d9d35ffd Expand caveat for disabled fieldsets and links 2014-11-14 10:52:56 +00:00
XhmikosR
4d2fb67050 Specify img alternative text. 2014-11-14 11:28:17 +02:00
Julian Thilo
14857bd4a2 Merge pull request #15126 from Quy/master
Fix link
2014-11-14 08:33:21 +01:00
Quy Ton
cd03436379 Fix link 2014-11-13 22:20:30 -08:00
Chris Rebert
7bdc307b70 clarify that Bower is one among several installation methods 2014-11-13 15:18:55 -08:00
Chris Rebert
b26eb44305 Merge pull request #15122 from twbs/bump-remarkable
bump remarkable devDependency to ~1.4.1
2014-11-13 13:54:40 -08:00
Chris Rebert
a7682e3fde bump remarkable devDependency to ~1.4.1
[skip sauce]
2014-11-13 13:53:40 -08:00
Chris Rebert
3a96a80a1b Merge pull request #15093 from twbs/id-callouts
Give all docs callouts IDs
[skip sauce]
2014-11-13 12:24:03 -08:00
XhmikosR
101940b452 Merge pull request #15121 from twbs/npm-shrinkwrap@5.0.0
Pin npm-shrinkwrap to v5.0.0 so that it works with npm 2.x.
2014-11-13 22:19:06 +02:00
XhmikosR
6ce4ca75a2 Fix a small grammar mistake.
[ci skip]
2014-11-13 22:18:02 +02:00
Chris Rebert
ea407666ce give all docs callouts IDs
[skip sauce]
2014-11-13 12:16:03 -08:00
XhmikosR
5660be42fa Use a 40x40 image for the navbar brand image example.
Saves 3.4KB.
2014-11-13 22:09:38 +02:00
Chris Rebert
20ba8ad6f0 Merge pull request #15120 from twbs/fix-forms-doc
Fix .form-inline docs example
2014-11-13 12:07:38 -08:00
XhmikosR
13d2a03379 Pin npm-shrinkwrap to v5.0.0 so that it works with npm 2.x.
Fixes #15105.
2014-11-13 22:01:12 +02:00
Chris Rebert
e5c888f4a2 Fix .form-inline docs example
Make sample code match live example
Move <label> out of .input-group into .form-group instead
Change field from Email to Username to make it less redundant, slightly more realistic
Add <label> for Username field for consistency
Fixes #15118
2014-11-13 11:32:33 -08:00
Zac Echola
bf43c9cf9f escaped uri 2014-11-13 09:12:31 -06:00
Chris Rebert
806490499a Merge pull request #15110 from twbs/ios-clickability
add link to MDN docs regarding iOS Safari element clickability
2014-11-12 17:27:38 -08:00
Chris Rebert
ddf39cc2e7 Don't line wrap event names in JS plugin docs 2014-11-12 16:32:51 -08:00