mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1121768 - Part 4: Store token stream values in all subproperties of a shorthand with a variable reference. r=dbaron
This will make UA style sheet-only properties with a variable reference work. (It's probably unlikely that we'll ever have such properties, though.)
This commit is contained in:
parent
e6c231b61f
commit
e39b7feaa4
@ -9651,7 +9651,7 @@ CSSParserImpl::ParseProperty(nsCSSProperty aPropID)
|
||||
// If this is a shorthand property, we store the token stream on each
|
||||
// of its corresponding longhand properties.
|
||||
CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES(p, aPropID,
|
||||
nsCSSProps::eEnabledForAllContent) {
|
||||
PropertyEnabledState()) {
|
||||
nsCSSValueTokenStream* tokenStream = new nsCSSValueTokenStream;
|
||||
tokenStream->mPropertyID = *p;
|
||||
tokenStream->mShorthandPropertyID = aPropID;
|
||||
|
Loading…
Reference in New Issue
Block a user