Description[RFC] Move StyleTransformData to ComputedStyle top-level
This moves the StyleTransformData structure to the top-level of
ComputedStyle (i.e directly referenced from said class.) This is
primarily to avoid the high cost of copying the outer
StyleRareNonInheritedData.
Also move state for:
* The properties: 'transform-style', 'backface-visibility',
'perspective' and 'perspective-origin' to StyleTransformData
as well since they have a strong transform affinity.
* The derived flag m_hasInlineTransform, since it's directly
dependent on the presence of a non-'none' 'transform'.
* m_isStackingContext (up) to ComputedStyle to avoid it invoking
CoW of a StyleRareNonInheritedData object when one isn't needed.
BUG=670375, 369942
Patch Set 1 #Patch Set 2 : Add export for StylePath #Patch Set 3 : Fix diffing #Patch Set 4 : Rebase #Patch Set 5 : Rebase #Patch Set 6 : Add export for StyleTransformData #
Messages
Total messages: 33 (28 generated)
|