Skip to content

jQuery.param: Updated version for traditional flag #932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Visibility filters: Specified new behavior
Fixes gh-737
Closes gh-789
  • Loading branch information
AurelioDeRosa committed Jul 27, 2015
commit d0e7282d4c0e9c02263ebcb15ecd419a25113941
1 change: 1 addition & 0 deletions entries/hidden-selector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<p>Elements that are not in a document are not considered to be visible; jQuery does not have a way to know if they will be visible when appended to a document since it depends on the applicable styles.</p>
<p>During animations to show an element, the element is considered to be visible at the start of the animation.</p>
<p>How <code>:hidden</code> is determined was changed in jQuery 1.3.2. An element is assumed to be hidden if it or any of its parents consumes no space in the document. CSS visibility isn't taken into account (therefore <code>$( elem ).css( "visibility", "hidden" ).is( ":hidden" ) == false</code>). The <a href="http://blog.jquery.com/2009/02/20/jquery-1-3-2-released/">release notes</a> outline the changes in more detail.</p>
<p>jQuery 3 slightly modifies the meaning of <code>:hidden</code> (and therefore of <a href="/visible-selector/"><code>:visible</code></a>). Starting with this version, elements will be considered <code>:hidden</code> if they don't have any layout boxes. For example, <code>br</code> elements and inline elements with no content will not be selected by the <code>:hidden</code> selector.</p>
</longdesc>
<note id="jquery-selector-extension" type="additional" data-selector=":hidden"/>
<note id="hidden-forces-layout" type="additional"/>
Expand Down
1 change: 1 addition & 0 deletions entries/visible-selector.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<p>All <code>option</code> elements are considered hidden, regardless of their <code>selected</code> state.</p>
<p>During animations that hide an element, the element is considered visible until the end of the animation. During animations to show an element, the element is considered visible at the start at the animation.</p>
<p>How <code>:visible</code> is calculated was changed in jQuery 1.3.2. The <a href="http://blog.jquery.com/2009/02/20/jquery-1-3-2-released/">release notes</a> outline the changes in more detail.</p>
<p>jQuery 3 slightly modifies the meaning of <code>:visible</code> (and therefore of <a href="/hidden-selector/"><code>:hidden</code></a>). Starting with this version, elements will be considered <code>:visible</code> if they have any layout boxes, including those of zero width and/or height. For example, <code>br</code> elements and inline elements with no content will be selected by the <code>:visible</code> selector.</p>
</longdesc>
<note id="jquery-selector-extension" type="additional" data-selector=":visible"/>
<note id="hidden-forces-layout" type="additional"/>
Expand Down