Skip to content

Use ::marker for dl.switch - #508

Merged
zcorpan merged 1 commit into
mainfrom
zcorpan/dl-switch-marker
Sep 14, 2026
Merged

zcorpan merged 1 commit into
mainfrom
zcorpan/dl-switch-marker

Conversation

@zcorpan

@zcorpan zcorpan commented Sep 14, 2026

Copy link
Copy Markdown
Member

This avoids rendering whitespace between the marker and the text.

This also lets whatwg/wattsi#173 drop its special case for dl.switch > dt.

This avoids rendering whitespace between the marker and the text.

This also lets whatwg/wattsi#173 drop its special case for `dl.switch > dt`.
@zcorpan

zcorpan commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

"Before" in the top list, "after" in the bottom list. The selection shows a leading space caused by inline-block, gone with the new style. Markers have the same alignment as the old styles.

Screenshot

@zcorpan
zcorpan merged commit c040b2f into main Sep 14, 2026
1 check passed
@zcorpan
zcorpan deleted the zcorpan/dl-switch-marker branch September 14, 2026 15:45
@zcorpan

zcorpan commented Sep 25, 2026

Copy link
Copy Markdown
Member Author

zcorpan added a commit that referenced this pull request Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants