Skip to content

Add ::-webkit-details-marker pseudo to marker variant#17362

Merged
RobinMalfait merged 3 commits into
mainfrom
feat/webkit-details-marker
Mar 25, 2025
Merged

Add ::-webkit-details-marker pseudo to marker variant#17362
RobinMalfait merged 3 commits into
mainfrom
feat/webkit-details-marker

Conversation

@thecrypticace

Copy link
Copy Markdown
Contributor

See #17360

This PR updates the marker variant to also target the marker present in <summary> elements in WebKit browsers. Chromium uses ::marker and is therefore already covered.

@thecrypticace thecrypticace requested a review from a team as a code owner March 24, 2025 22:48
@thecrypticace thecrypticace force-pushed the feat/webkit-details-marker branch from dd9c8d6 to 6126a88 Compare March 24, 2025 22:49

@philipp-spiess philipp-spiess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Comment thread packages/tailwindcss/src/variants.ts Outdated
@@ -623,7 +623,12 @@ export function createVariants(theme: Theme): Variants {
staticVariant('first-line', ['&::first-line'])

// TODO: Remove alpha vars or no?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this still relevant? I don't even know what this comment is trying to say so we might wanna remove it lol

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah we should drop the comment

Comment thread packages/tailwindcss/src/variants.ts Outdated
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