Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

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

yisibl commented Jun 20, 2024

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

@w3cbot
Copy link

w3cbot commented Jun 20, 2024

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

Copy link
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
1 check passed
@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