0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/js/tests/unit
Geremia Taglialatela db44e4b311 Update nav and navbar HTML markup
According to the docs, you just need to apply the `navbar-nav` to an
`<ul>` tag in a list-based navbar. In fact, `navbar-nav` seems to
override all the css properties set by `nav`.

Also, `nav-item` class should be used only for `<li>` tags, or in
conjunction with `<a>` tags to entirely avoid the list-based approach.

This commit removes the redundant `nav` class from `navbar-nav` `<ul>`
tags, moves `nav-item` from `<a>` tags to `<li>` tags and properly
adds `nav-item` class to `<li>` tags where missing.

Refs:

* https://v4-alpha.getbootstrap.com/components/navs/
* https://v4-alpha.getbootstrap.com/components/navbar/#nav
2017-05-27 15:21:49 -07:00
..
alert.js Rename .active to .show 2016-12-07 21:20:15 -07:00
button.js Fix Toggle buttons don't honor [disabled] or .disabled 2017-04-26 18:46:05 +02:00
carousel.js Fix carousel "hover" behavior on touch-enabled devices 2017-04-17 13:26:46 +01:00
collapse.js Detach accordion from card without requiring 'data-children' 2017-04-25 09:32:14 +02:00
dropdown.js Fix unit tests + Update Popper to 1.6.0 2017-05-14 11:41:19 +02:00
modal.js Fix #22332: Adjust tests for hidden scrollbar 2017-04-03 13:27:15 +02:00
popover.js Fix unit tests + Update Popper to 1.6.0 2017-05-14 11:41:19 +02:00
scrollspy.js Update nav and navbar HTML markup 2017-05-27 15:21:49 -07:00
tab.js Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, .nav-item, <li> etc...) 2017-04-02 11:21:04 +02:00
tooltip.js Handle dropup for Dropdown 2017-05-14 11:41:19 +02:00