address an issue parsing font names; we couldn't parse unquoted font names if the names started with words that matched other css tokens, like pt. So, we could parse Arial Narrow, but not PT Sans (quoted names did work just fine).
This changes how we recover from unexpected syntax. I don't know that the current recover is really intentional however, and certainly isn't what's described in the spec (see https://www.w3.org/TR/css-syntax-3/#tokenization).
pt
. So, we could parseArial Narrow
, but notPT Sans
(quoted names did work just fine).This changes how we recover from unexpected syntax. I don't know that the current recover is really intentional however, and certainly isn't what's described in the spec (see https://www.w3.org/TR/css-syntax-3/#tokenization).