source casing folds
token list and declarations
a brace inside a string is not one in the list
nor is a balanced pair
a bare `}` closes no block, so it is a bad declaration running to the next `;`
what the value leaves open, the end of the input closes
the same, unclosed in a fallback
the same, unclosed in a string
a closed pair leaves nothing open
an escape inside a string is not its end
an escape outside one is not a brace either
the escape the value ran out of
rule-shaped string
rule-shaped custom property
a kept comment stands where it was written
optional end tags
- a
- b
- c
trailing p kept: parent absorbs
trailing p kept: custom element
not boolean here
token lists collapse
globals
heading globals
- li value is signed
enumerated values fold
- A and a are two keywords, so type stays
a named target is not a keyword
url ends trimmed
| legacy percentage kept, integer normalized |
kept quoted
unquoted
preformatted
text
nbsp is a class token of its own
nbsp stays in the url
| nbsp is not integer whitespace | plus does not parse as non-negative |
- signed integer normalizes
- negative normalizes
only ascii folds in a name
whitespace behind it keeps the tag | a |
a > b, < and & still escape
a
| obsolete but still boolean |
not boolean here
R&D, AT&T and a query x?a=1&b=2 keep a bare ampersand
but &, < and & stay escaped: they would read back as a reference
café and decode to the character itself