mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
ignore: hidden value until-found
This commit is contained in:
parent
fc091cce15
commit
ccdb16139a
@ -342,8 +342,9 @@ template {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Add the correct display in IE 10.
|
* Add the correct display in IE 10.
|
||||||
|
* Except `hidden="until-found"` because `content-visibility: hidden` is applied.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[hidden] {
|
[hidden]:not([hidden="until-found"]) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
1
test.html
vendored
1
test.html
vendored
@ -142,6 +142,7 @@
|
|||||||
<content></content>
|
<content></content>
|
||||||
</template>
|
</template>
|
||||||
<p hidden>This should be hidden</p>
|
<p hidden>This should be hidden</p>
|
||||||
|
<p hidden="until-found">This is not display none</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 class="Test-describe"><code>a</code></h2>
|
<h2 class="Test-describe"><code>a</code></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user