mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1350010, part 7 - Treat unset -moz-context-properties as 'inherit'. r=heycam
MozReview-Commit-ID: Cu3dbFfeCgM
This commit is contained in:
parent
4a322bd7c5
commit
4ee0a918ed
@ -9637,6 +9637,7 @@ nsRuleNode::ComputeSVGData(void* aStartStruct,
|
||||
}
|
||||
|
||||
case eCSSUnit_Inherit:
|
||||
case eCSSUnit_Unset:
|
||||
svg->mContextProps.Clear();
|
||||
svg->mContextProps.AppendElements(parentSVG->mContextProps);
|
||||
svg->mContextPropsBits = parentSVG->mContextPropsBits;
|
||||
@ -9645,7 +9646,6 @@ nsRuleNode::ComputeSVGData(void* aStartStruct,
|
||||
|
||||
case eCSSUnit_Initial:
|
||||
case eCSSUnit_None:
|
||||
case eCSSUnit_Unset:
|
||||
svg->mContextProps.Clear();
|
||||
svg->mContextPropsBits = 0;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user