ignore: hidden value until-found

This commit is contained in:
yamanoku 2022-03-24 10:34:42 +09:00
parent fc091cce15
commit ccdb16139a
2 changed files with 3 additions and 1 deletions

View File

@ -342,8 +342,9 @@ template {
/**
* 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;
}

1
test.html vendored
View File

@ -142,6 +142,7 @@
<content></content>
</template>
<p hidden>This should be hidden</p>
<p hidden="until-found">This is not display none</p>
</div>
<h2 class="Test-describe"><code>a</code></h2>