Skip to content

Editorial: don't start a switch dt with a line break - #12939

Closed
zcorpan wants to merge 1 commit into
mainfrom
zcorpan/switch-dt-line
Closed

zcorpan wants to merge 1 commit into
mainfrom
zcorpan/switch-dt-line

Conversation

@zcorpan

@zcorpan zcorpan commented Sep 14, 2026

Copy link
Copy Markdown
Member

The line break rendered as a space between the marker that dl.switch > dt::before generates and the text, unlike every other dt in the source.

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


/rendering.html ( diff )

The line break rendered as a space between the '↪' marker that
`dl.switch > dt::before` generates and the text, unlike every other dt in the
source. See whatwg/wattsi#173.
@annevk

annevk commented Sep 14, 2026

Copy link
Copy Markdown
Member

But this seems correct given that it has multiple children.

@zcorpan

zcorpan commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

Hmm maybe the style can be changed instead to use ::marker.

@zcorpan

zcorpan commented Sep 14, 2026

Copy link
Copy Markdown
Member Author

whatwg/whatwg.org#508

@zcorpan zcorpan closed this Sep 14, 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