diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-11-11 20:50:37 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-11-13 14:34:09 +0300 |
commit | 0169459d5d896a87e4cc0026bfd9b823d5525220 (patch) | |
tree | 4a2ac5d3cee8615eaf8d9a80e4bc756189e3046b /test/data | |
parent | 87db099ed54d0dac624c4ae6b476328e88aef2d7 (diff) | |
download | jquery-0169459d5d896a87e4cc0026bfd9b823d5525220.tar.gz jquery-0169459d5d896a87e4cc0026bfd9b823d5525220.zip |
Revert "CSS: Ignore the CSS cascade in show()/hide()/etc."
This reverts commit 86419b10bfa5e3b71a7d416288ab806d47a31d1f.
Diffstat (limited to 'test/data')
-rw-r--r-- | test/data/testsuite.css | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/data/testsuite.css b/test/data/testsuite.css index 50619b98d..cf2ba8c20 100644 --- a/test/data/testsuite.css +++ b/test/data/testsuite.css @@ -68,8 +68,7 @@ div.noopacity { opacity: 0; } -div.hidden, -span.hidden { +div.hidden { display: none; } @@ -117,10 +116,19 @@ 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; } |