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
a
b
c
ab
c
h
a

trailing p kept: parent absorbs

trailing p kept: custom element

not boolean here
unquoted where legal descriptor-less keeps its space invalid srcset kept comma in url token lists collapse for is a token list here
globals
heading globals
hheaders is a token list
  1. li value is signed
enumerated values fold
  1. A and a are two keywords, so type stays
a named target is not a keyword legacy img attributes url ends trimmed   alt keeps its spaces
legacy percentage kept, integer normalized
sizes keeps its media condition kept quoted unquoted
  preformatted
   text
nbsp is a class token of its own
nbsp stays in the url
nbsp is not integer whitespaceplus does not parse as non-negative
  1. signed integer normalizes
  1. negative normalizes
nbsp descriptor kept only ascii folds in a name
caption end tag goes
a
whitespace behind it keeps the tag
a
a
a

a > b, < and & still escape

controls is boolean on img now
obsolete but still boolean

not boolean here

R&D, AT&T and a query x?a=1&b=2 keep a bare ampersand

but &amp;, &lt; and &#38; stay escaped: they would read back as a reference

café and   decode to the character itself