Skip to content

Commit ccdb161

Browse files
committed
ignore: hidden value until-found
1 parent fc091cc commit ccdb161

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

normalize.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ template {
342342

343343
/**
344344
* Add the correct display in IE 10.
345+
* Except `hidden="until-found"` because `content-visibility: hidden` is applied.
345346
*/
346347

347-
[hidden] {
348+
[hidden]:not([hidden="until-found"]) {
348349
display: none;
349350
}

test.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ <h1>{{title}}</h1>
142142
<content></content>
143143
</template>
144144
<p hidden>This should be hidden</p>
145+
<p hidden="until-found">This is not display none</p>
145146
</div>
146147

147148
<h2 class="Test-describe"><code>a</code></h2>

0 commit comments

Comments
 (0)