-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Line 62 in 1fdbe2c
| dl > *:not(dt):not(dd), |
Sure this style predates HTML5 and HTML Living Standard, so hard to criticize, but nowadays it is allowed to have non-nested DIV elements inside DL:
Line 63 in 1fdbe2c
| dt + *:not(dd), |
Also AFAIK it newer was a mistake to have multiple definitiondescription therms defscribed by one or more DD.
So such sample should suffer no revenge:
<dl>
<div>
<dt>foo</dt>
<dt>bar</dt>
<dt>baz</dt>
<dd>Very common metasyntactic variables.</dd>
<dd>Frowned-upon words without meaning often seen in programming handbooks.</dd>
</div>
<div>
<dt>metasyntactic variable</dt>
<dd><q cite="https://en.wikipedia.org/wiki/Metasyntactic_variable">specific word or set of words identified as a placeholder in computer science and specifically computer programming</q></dd>
</div>
</dl>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels