Skip to content

Commit fb3033a

Browse files
committed
Retain display:block default on ::details-content when details is open.
1 parent baead7f commit fb3033a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134206,7 +134206,8 @@ details[open] > summary:first-of-type {
134206134206
"<code data-x="">display: block; content-visibility: hidden;</code>" when the
134207134207
<code>details</code> element does not have an <code data-x="attr-details-open">open</code>
134208134208
attribute. When it does have the <code data-x="attr-details-open">open</code> attribute, the
134209-
<code data-x="attr-style">style</code> attribute is expected to be removed.</p>
134209+
<code data-x="attr-style">style</code> attribute is expected to be set to
134210+
"<code data-x="">display: block;</code>".</p>
134210134211

134211134212
<p class="note">Because the slots are hidden inside a shadow tree, this <code
134212134213
data-x="attr-style">style</code> attribute is not directly visible to author code. Its impacts,

0 commit comments

Comments
 (0)