Skip to content

Commit c9bcf8d

Browse files
committed
Merge remote-tracking branch 'yamanoku/feature-hidden-until-found-values' into main
2 parents 4a8722a + ddcc662 commit c9bcf8d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

normalize.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,13 @@ template {
342342

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

347348
[hidden] {
348349
display: none;
349350
}
351+
352+
[hidden="until-found"] {
353+
display: revert;
354+
}

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)