Bootstrap 3.3.4 发布,此版本主要是 bug 修复和文档改进。此版本总共包括 29 位贡献者和 325 个 commits。
值得关注的内容如下:
-
修复了一些 Modal 插件的 bugs
-
修复了 ScrollSpy 插件的 bugs
-
优化了当前的 symbol Glyphicons
-
在文档中部署 AnchorJS
其他改进:
CSS
-
#15561 , #15628 : Properly resize
.badge
s inside.btn-group-xs
-
#15620 : Add
.glyphicon-*
aliases for other ISO 4217 -ish currency codes:-
.glyphicon-btc
and.glyphicon-xbt
for.glyphicon-bitcoin
-
.glyphicon-jpy
for.glyphicon-yen
-
.glyphicon-rub
for.glyphicon-ruble
-
-
#15656 : Improve positioning of inline checkboxes and radio buttons by setting
position: relative
-
#15699 : Ensure
.form-control-static
doesn’t change height when it’s empty -
#15719 , #15728 : Add a variable for
.form-group
‘smargin-bottom
-
#15726 : Remove unnecessary nesting of
.embed-responsive-*
classes -
#15755 : Removed unnecessary
visibility: hidden !important
from.hidden
class per upstream H5BP change -
#15825 : Use a utility mixing for
.initialism
text transformation -
#16021 : Remove
visibility
properties where they are redundant to existingdisplay
properties
JS
-
#15378 : Modal: Work around IE scrollbars not taking up page width
-
#15496 : Make
$(document).tooltip({...})
without theselector
option throw an error -
#15520 : Dropdown: Properly ignore
.disabled
elements when using keyboard navigation -
#15557 : Tooltip: Avoid creating an unnecessary tooltip when
Tooltip#hide
is called -
#15593 : Fix Scrollspy’s handling of multiple target elements with offsets of zero
-
#15630 : Fix erroneous tautological conditional in Tab plugin
-
#15681 : Rename
Tooltip.replaceArrow()
‘sisHorizontal
parameter toisVertical
for accuracy -
#15693 : Remove duplicate implementation of
tip()
method inpopover.js
-
#15930 : Modal: Apply any preexisting inline body padding again after closing
-
#15941 : Update the
.collapsed
class andaria-expanded
attribute of all of a Collapse’s trigger elements when showing/hiding the Collapse -
#15881 : Modal: Fix backdrop not readjusting when height changes
-
#15988 :
$(...).tooltip('hide')
on an uninitialized tooltip/popover no longer unnecessarily initializes it -
#16011 :
$(...).collapse('hide')
on a hidden uninitialized collapsible no longer shows it -
#16043 : Use half-closed interval for ScrollSpy bounds condition to avoid selecting wrong nav element when user scrolls upwards
Docs
-
#15491 : Add AnchorJS for docs anchors (hover over headings for a permalink to that section)
-
#15621 : Document sticky
:hover
on mobile browsers -
#15648 : Improve image layout in the Carousel example and document image alignment via
.center-block
-
#15662 : Mention
dropup
variation in dropdown docs -
#15683 , #15703 : Clarify usage and effects of
readonly
anddisabled
input
s -
#15710 : License FAQ clarification
-
#15714 : Skip link workarounds for Chrome and IE
-
#15725 : Add example of how to use the grid system within a modal
-
#15739 : Clarify target of modal events
-
#15740 : Clarify target of carousel events
-
#15742 : Document how
destroy
works for delegated tooltips/popovers -
#15884 , #15885 , #15886 , #15887 , #15888 , #15889 , #15890 , #15891 , #15914 : Accessibility changes to improve heading hierarchy within pages
-
#15898 : Change CC link in footer to HTTPS
-
#15903 : Add
rel="license"
and update the target of footer license links -
#15906 , #15916 : Add source code documentation of justified navbar for the single-line text requirement
-
#15910 : Document how to properly handle modals with dynamic content height
-
#15915 : Javascript docs: Accessibility and cosmetic changes to headings.
-
#15929 : Encourage use of icons with form validation states for colorblind users
-
#15946 : Accessibility and headings hierarchy for the “Getting started” page
-
#15948 : Accessibility and headings hierarchy for the CSS page.
-
#15999 : Document JS test suite basics
-
#16004 : Add link to Vietnamese docs translation
-
#16042 : Increment quick start options in README to five
-
#16058 : Document that striped progress bars aren’t striped on IE9
更多内容请看 发行说明 。
此版本现已提供下载: