-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Suggestion: Change <div> in <dl> content rules for styling purposes #7347
Comments
This makes sense to me. I'd love @zcorpan's perspective. |
I'm not sure about further "relaxing" the content model for |
(In particular, it had pushback from a WYSIWYG editor developer (not editors of the HTML standard).) |
(Clarified my comment) |
Hey @annevk. Just in case you need clarification from my reply on Element , I want to do this one. |
Given that we never got follow-up on @zcorpan's explanation I don't think anything else is needed here. We'll leave this as-is. |
Currently, I think the rules for
<div>
s in<dl>
s are not sufficient for all styling purposes. Rationale for accommodating styling here is in #1937.Sorry if my use case is too specific; I can't think of a way to generalize it: I am using CSS flexboxes to style a
dl
such that the information is styled as a row, with some columns containing only one group ofdt
s followed bydd
s, and some columns containing multiple groups ofdt
s followed bydd
s. This is for purely visual purposes and does not reflect any semantic separation between the terms; they are all part of the same list.Possible solutions:
dt
s followed bydd
s indiv
s indl
s:div
s indl
s:The text was updated successfully, but these errors were encountered: