Skip to content

[css-pseudo-4] Simplified example of ::details-content - #10476

Merged
dbaron merged 1 commit into
w3c:mainfrom
yisibl:fix-details-content-example
Jun 20, 2024
Merged

dbaron merged 1 commit into
w3c:mainfrom
yisibl:fix-details-content-example

Conversation

@yisibl

@yisibl yisibl commented Jun 20, 2024

Copy link
Copy Markdown
Contributor
  1. By depending on the animation rules defined in https://drafts.csswg.org/css-contain-3/#content-visibility-animation the step-end and step-start values are not needed.

  2. By depending on the change in
    Specify the rendering of <details> in more detail. whatwg/html#10265 (comment)
    and
    whatwg/html@fb3033a
    the display: block is no longer needed.

1. By depending on the animation rules defined in
https://drafts.csswg.org/css-contain-3/#content-visibility-animation the
step-end and step-start values are not needed.

2. 2. By depending on the change in
whatwg/html#10265 (comment)
and
whatwg/html@fb3033a
the `display: block` is no longer needed.
@yisibl

yisibl commented Jun 20, 2024

Copy link
Copy Markdown
Contributor Author

@dbaron PTAL, this is based on your submission: ff353bd

@w3cbot

w3cbot commented Jun 20, 2024

Copy link
Copy Markdown

yisibl marked as non substantive for IPR from ash-nazg.

@dbaron dbaron left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. This looks good -- I had too many places to try to make a similar change, and I didn't catch this one.

(Hopefully not needing display: block will stick, but it's possible that compatibility might require that we go back to requiring the display: block.)

@dbaron
dbaron merged commit 13dcdb4 into w3c:main Jun 20, 2024
@yisibl
yisibl deleted the fix-details-content-example branch June 20, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants