Skip to content
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

Add tests for ::slotted(*)::details-content #49408

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

nt1m
Copy link
Member

@nt1m nt1m commented Nov 27, 2024

No description provided.

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.

Looks good with one small (but substantive) suggested change.

@@ -0,0 +1,6 @@
<!doctype html>
<style>
::details-content { color: green }
Copy link
Member

Choose a reason for hiding this comment

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

I would make this body { color: green} so that the test fails when ::details-content isn't supported.

Copy link
Member Author

Choose a reason for hiding this comment

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

body would make the summary green too, I can wrap the text inside the details into a green span.

Copy link
Member

Choose a reason for hiding this comment

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

Sounds good. (I forgot about the autogenerated summary text.)

@nt1m nt1m force-pushed the slotted-details-content branch from c24b9ad to 8dd960f Compare November 27, 2024 19:33
@nt1m nt1m enabled auto-merge (squash) November 27, 2024 19:35
@nt1m nt1m merged commit 4e59e41 into master Nov 27, 2024
17 checks passed
@nt1m nt1m deleted the slotted-details-content branch November 27, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants