DescriptionRecognise variable names when parsing CSS property names
This patch moves the CSSVariableResolver::isValidVariableName call that
usually exists alongside calling cssPropertyId into the cssPropertyId
call (and similarly for unresolvedCSSPropertyId). Pretty much every
place which parses property names should be handling custom properties,
so it's easier to just return CSSPropertyVariable instead of needing to
manually check for a valid custom property name.
Committed: https://crrev.com/07846616d126fafc699b3c8e8edad379c16dfeda
Cr-Commit-Position: refs/heads/master@{#415230}
Patch Set 1 #
Total comments: 3
Patch Set 2 : tweak comment #
Total comments: 2
Patch Set 3 : fix long var names #Messages
Total messages: 25 (10 generated)
|