Skip to content

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

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

[css-pseudo-4] Simplified example of ::details-content#10476
dbaron merged 1 commit intow3c:mainfrom
yisibl:fix-details-content-example

Conversation

@yisibl
Copy link
Copy Markdown
Contributor

@yisibl yisibl commented Jun 20, 2024

  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
Copy link
Copy Markdown
Contributor Author

yisibl commented Jun 20, 2024

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

@w3cbot
Copy link
Copy Markdown

w3cbot commented Jun 20, 2024

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

Copy link
Copy Markdown
Member

@dbaron dbaron left a comment

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