diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2015-04-02 16:57:33 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2015-05-11 13:00:49 -0400 |
commit | 86419b10bfa5e3b71a7d416288ab806d47a31d1f (patch) | |
tree | 0e67bab0273e904df2f308ab26980291ec22adeb /test/data | |
parent | 5c3101fee60046fa7976b3131fada8dfe9fbd53e (diff) | |
download | jquery-86419b10bfa5e3b71a7d416288ab806d47a31d1f.tar.gz jquery-86419b10bfa5e3b71a7d416288ab806d47a31d1f.zip |
CSS: Ignore the CSS cascade in show()/hide()/etc.
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/testsuite.css | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/test/data/testsuite.css b/test/data/testsuite.css index cf2ba8c20..50619b98d 100644 --- a/test/data/testsuite.css +++ b/test/data/testsuite.css @@ -68,7 +68,8 @@ div.noopacity { opacity: 0; } -div.hidden { +div.hidden, +span.hidden { display: none; } @@ -116,19 +117,10 @@ div#fx-tests div.noback { display: none; } -/* tests to ensure jQuery can determine the native display mode of elements - that have been set as display: none in stylesheets */ -div#show-tests * { display: none; } - #nothiddendiv { font-size: 16px; } #nothiddendivchild.em { font-size: 2em; } #nothiddendivchild.prct { font-size: 150%; } -/* 8099 changes to default styles are read correctly */ -tt { display: none; } -sup { display: none; } -dfn { display: none; } - /* #9239 Attach a background to the body( avoid crashes in removing the test element in support ) */ body, div { background: url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif) no-repeat -1000px 0; } |