[go: nahoru, domu]

Skip to content

Commit

Permalink
Retain display:block default on ::details-content when details is open.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaron committed Jun 5, 2024
1 parent baead7f commit fb3033a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -134206,7 +134206,8 @@ details[open] > summary:first-of-type {
"<code data-x="">display: block; content-visibility: hidden;</code>" when the
<code>details</code> element does not have an <code data-x="attr-details-open">open</code>
attribute. When it does have the <code data-x="attr-details-open">open</code> attribute, the
<code data-x="attr-style">style</code> attribute is expected to be removed.</p>
<code data-x="attr-style">style</code> attribute is expected to be set to
"<code data-x="">display: block;</code>".</p>

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

0 comments on commit fb3033a

Please sign in to comment.