OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/style/ShadowList.h" | 29 #include "core/style/ShadowList.h" |
30 #include "core/style/StyleFilterData.h" | 30 #include "core/style/StyleFilterData.h" |
31 #include "core/style/StyleNonInheritedVariables.h" | 31 #include "core/style/StyleNonInheritedVariables.h" |
32 #include "core/style/StyleTransformData.h" | 32 #include "core/style/StyleTransformData.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class SameSizeStyleRareNonInheritedData | 36 class SameSizeStyleRareNonInheritedData |
37 : public RefCounted<StyleRareNonInheritedData> { | 37 : public RefCounted<StyleRareNonInheritedData> { |
38 public: | 38 public: |
39 float floats[3]; | 39 float floats[2]; |
40 int integers; | 40 int integers; |
41 | 41 |
42 LengthPoint lengthPoints[2]; | 42 LengthPoint lengthPoints[1]; |
43 LineClampValue lineClamps; | 43 LineClampValue lineClamps; |
44 DraggableRegionMode draggableRegions; | 44 DraggableRegionMode draggableRegions; |
45 | 45 |
46 void* dataRefs[8]; | 46 void* dataRefs[7]; |
47 DataPersistent<void*> dataPersistents[2]; | 47 DataPersistent<void*> dataPersistents[2]; |
48 void* ownPtrs[4]; | 48 void* ownPtrs[4]; |
49 Persistent<void*> persistentHandles[2]; | 49 Persistent<void*> persistentHandles[2]; |
50 void* refPtrs[3]; | 50 void* refPtrs[3]; |
51 void* uniquePtrs[1]; | 51 void* uniquePtrs[1]; |
52 | 52 |
53 FillLayer fillLayers; | 53 FillLayer fillLayers; |
54 NinePieceImage ninePieces; | 54 NinePieceImage ninePieces; |
55 FloatSize floatSize; | 55 FloatSize floatSize; |
56 Length lengths; | 56 Length lengths; |
57 OutlineValue outline; | 57 OutlineValue outline; |
58 | 58 |
59 StyleColor styleColors[8]; | 59 StyleColor styleColors[8]; |
60 | 60 |
61 Vector<String> m_callbackSelectors; | 61 Vector<String> m_callbackSelectors; |
62 | 62 |
63 StyleContentAlignmentData contentAlignmentData[2]; | 63 StyleContentAlignmentData contentAlignmentData[2]; |
64 StyleSelfAlignmentData selfAlignmentData[4]; | 64 StyleSelfAlignmentData selfAlignmentData[4]; |
65 | 65 |
66 unsigned m_bitFields[2]; | 66 unsigned m_bitFields[2]; |
67 }; | 67 }; |
68 | 68 |
69 static_assert(sizeof(StyleRareNonInheritedData) == | 69 static_assert(sizeof(StyleRareNonInheritedData) == |
70 sizeof(SameSizeStyleRareNonInheritedData), | 70 sizeof(SameSizeStyleRareNonInheritedData), |
71 "StyleRareNonInheritedData_should_stay_small"); | 71 "StyleRareNonInheritedData_should_stay_small"); |
72 | 72 |
73 StyleRareNonInheritedData::StyleRareNonInheritedData() | 73 StyleRareNonInheritedData::StyleRareNonInheritedData() |
74 : opacity(ComputedStyle::initialOpacity()), | 74 : opacity(ComputedStyle::initialOpacity()), |
75 m_perspective(ComputedStyle::initialPerspective()), | |
76 m_shapeImageThreshold(ComputedStyle::initialShapeImageThreshold()), | 75 m_shapeImageThreshold(ComputedStyle::initialShapeImageThreshold()), |
77 m_order(ComputedStyle::initialOrder()), | 76 m_order(ComputedStyle::initialOrder()), |
78 m_perspectiveOrigin(ComputedStyle::initialPerspectiveOrigin()), | |
79 m_objectPosition(ComputedStyle::initialObjectPosition()), | 77 m_objectPosition(ComputedStyle::initialObjectPosition()), |
80 lineClamp(ComputedStyle::initialLineClamp()), | 78 lineClamp(ComputedStyle::initialLineClamp()), |
81 m_draggableRegionMode(DraggableRegionNone), | 79 m_draggableRegionMode(DraggableRegionNone), |
82 m_shapeOutside(ComputedStyle::initialShapeOutside()), | 80 m_shapeOutside(ComputedStyle::initialShapeOutside()), |
83 m_clipPath(ComputedStyle::initialClipPath()), | 81 m_clipPath(ComputedStyle::initialClipPath()), |
84 m_mask(MaskFillLayer, true), | 82 m_mask(MaskFillLayer, true), |
85 m_pageSize(), | 83 m_pageSize(), |
86 m_shapeMargin(ComputedStyle::initialShapeMargin()), | 84 m_shapeMargin(ComputedStyle::initialShapeMargin()), |
87 m_textDecorationColor(StyleColor::currentColor()), | 85 m_textDecorationColor(StyleColor::currentColor()), |
88 m_visitedLinkTextDecorationColor(StyleColor::currentColor()), | 86 m_visitedLinkTextDecorationColor(StyleColor::currentColor()), |
89 m_visitedLinkBackgroundColor(ComputedStyle::initialBackgroundColor()), | 87 m_visitedLinkBackgroundColor(ComputedStyle::initialBackgroundColor()), |
90 m_visitedLinkOutlineColor(StyleColor::currentColor()), | 88 m_visitedLinkOutlineColor(StyleColor::currentColor()), |
91 m_visitedLinkBorderLeftColor(StyleColor::currentColor()), | 89 m_visitedLinkBorderLeftColor(StyleColor::currentColor()), |
92 m_visitedLinkBorderRightColor(StyleColor::currentColor()), | 90 m_visitedLinkBorderRightColor(StyleColor::currentColor()), |
93 m_visitedLinkBorderTopColor(StyleColor::currentColor()), | 91 m_visitedLinkBorderTopColor(StyleColor::currentColor()), |
94 m_visitedLinkBorderBottomColor(StyleColor::currentColor()), | 92 m_visitedLinkBorderBottomColor(StyleColor::currentColor()), |
95 m_variables(ComputedStyle::initialNonInheritedVariables()), | 93 m_variables(ComputedStyle::initialNonInheritedVariables()), |
96 m_alignContent(ComputedStyle::initialContentAlignment()), | 94 m_alignContent(ComputedStyle::initialContentAlignment()), |
97 m_alignItems(ComputedStyle::initialDefaultAlignment()), | 95 m_alignItems(ComputedStyle::initialDefaultAlignment()), |
98 m_alignSelf(ComputedStyle::initialSelfAlignment()), | 96 m_alignSelf(ComputedStyle::initialSelfAlignment()), |
99 m_justifyContent(ComputedStyle::initialContentAlignment()), | 97 m_justifyContent(ComputedStyle::initialContentAlignment()), |
100 m_justifyItems(ComputedStyle::initialSelfAlignment()), | 98 m_justifyItems(ComputedStyle::initialSelfAlignment()), |
101 m_justifySelf(ComputedStyle::initialSelfAlignment()), | 99 m_justifySelf(ComputedStyle::initialSelfAlignment()), |
102 m_pageSizeType(PAGE_SIZE_AUTO), | 100 m_pageSizeType(PAGE_SIZE_AUTO), |
103 m_transformStyle3D(ComputedStyle::initialTransformStyle3D()), | |
104 m_backfaceVisibility(ComputedStyle::initialBackfaceVisibility()), | |
105 userDrag(ComputedStyle::initialUserDrag()), | 101 userDrag(ComputedStyle::initialUserDrag()), |
106 textOverflow(ComputedStyle::initialTextOverflow()), | 102 textOverflow(ComputedStyle::initialTextOverflow()), |
107 marginBeforeCollapse(MarginCollapseCollapse), | 103 marginBeforeCollapse(MarginCollapseCollapse), |
108 marginAfterCollapse(MarginCollapseCollapse), | 104 marginAfterCollapse(MarginCollapseCollapse), |
109 m_appearance(ComputedStyle::initialAppearance()), | 105 m_appearance(ComputedStyle::initialAppearance()), |
110 m_textDecorationStyle(ComputedStyle::initialTextDecorationStyle()), | 106 m_textDecorationStyle(ComputedStyle::initialTextDecorationStyle()), |
111 m_hasCurrentOpacityAnimation(false), | 107 m_hasCurrentOpacityAnimation(false), |
112 m_hasCurrentTransformAnimation(false), | 108 m_hasCurrentTransformAnimation(false), |
113 m_hasCurrentFilterAnimation(false), | 109 m_hasCurrentFilterAnimation(false), |
114 m_hasCurrentBackdropFilterAnimation(false), | 110 m_hasCurrentBackdropFilterAnimation(false), |
115 m_runningOpacityAnimationOnCompositor(false), | 111 m_runningOpacityAnimationOnCompositor(false), |
116 m_runningTransformAnimationOnCompositor(false), | 112 m_runningTransformAnimationOnCompositor(false), |
117 m_runningFilterAnimationOnCompositor(false), | 113 m_runningFilterAnimationOnCompositor(false), |
118 m_runningBackdropFilterAnimationOnCompositor(false), | 114 m_runningBackdropFilterAnimationOnCompositor(false), |
119 m_isStackingContext(false), | |
120 m_effectiveBlendMode(ComputedStyle::initialBlendMode()), | 115 m_effectiveBlendMode(ComputedStyle::initialBlendMode()), |
121 m_touchAction(ComputedStyle::initialTouchAction()), | 116 m_touchAction(ComputedStyle::initialTouchAction()), |
122 m_objectFit(ComputedStyle::initialObjectFit()), | 117 m_objectFit(ComputedStyle::initialObjectFit()), |
123 m_isolation(ComputedStyle::initialIsolation()), | 118 m_isolation(ComputedStyle::initialIsolation()), |
124 m_contain(ComputedStyle::initialContain()), | 119 m_contain(ComputedStyle::initialContain()), |
125 m_scrollBehavior(ComputedStyle::initialScrollBehavior()), | 120 m_scrollBehavior(ComputedStyle::initialScrollBehavior()), |
126 m_scrollSnapType(ComputedStyle::initialScrollSnapType()), | 121 m_scrollSnapType(ComputedStyle::initialScrollSnapType()), |
127 m_requiresAcceleratedCompositingForExternalReasons(false), | 122 m_requiresAcceleratedCompositingForExternalReasons(false), |
128 m_hasInlineTransform(false), | |
129 m_resize(ComputedStyle::initialResize()), | 123 m_resize(ComputedStyle::initialResize()), |
130 m_hasCompositorProxy(false), | 124 m_hasCompositorProxy(false), |
131 m_hasAuthorBackground(false), | 125 m_hasAuthorBackground(false), |
132 m_hasAuthorBorder(false) { | 126 m_hasAuthorBorder(false) { |
133 m_maskBoxImage.setMaskDefaults(); | 127 m_maskBoxImage.setMaskDefaults(); |
134 } | 128 } |
135 | 129 |
136 StyleRareNonInheritedData::StyleRareNonInheritedData( | 130 StyleRareNonInheritedData::StyleRareNonInheritedData( |
137 const StyleRareNonInheritedData& o) | 131 const StyleRareNonInheritedData& o) |
138 : RefCounted<StyleRareNonInheritedData>(), | 132 : RefCounted<StyleRareNonInheritedData>(), |
139 opacity(o.opacity), | 133 opacity(o.opacity), |
140 m_perspective(o.m_perspective), | |
141 m_shapeImageThreshold(o.m_shapeImageThreshold), | 134 m_shapeImageThreshold(o.m_shapeImageThreshold), |
142 m_order(o.m_order), | 135 m_order(o.m_order), |
143 m_perspectiveOrigin(o.m_perspectiveOrigin), | |
144 m_objectPosition(o.m_objectPosition), | 136 m_objectPosition(o.m_objectPosition), |
145 lineClamp(o.lineClamp), | 137 lineClamp(o.lineClamp), |
146 m_draggableRegionMode(o.m_draggableRegionMode), | 138 m_draggableRegionMode(o.m_draggableRegionMode), |
147 m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox), | 139 m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox), |
148 m_flexibleBox(o.m_flexibleBox), | 140 m_flexibleBox(o.m_flexibleBox), |
149 m_multiCol(o.m_multiCol), | 141 m_multiCol(o.m_multiCol), |
150 m_transform(o.m_transform), | |
151 m_willChange(o.m_willChange), | 142 m_willChange(o.m_willChange), |
152 m_filter(o.m_filter), | 143 m_filter(o.m_filter), |
153 m_backdropFilter(o.m_backdropFilter), | 144 m_backdropFilter(o.m_backdropFilter), |
154 m_grid(o.m_grid), | 145 m_grid(o.m_grid), |
155 m_gridItem(o.m_gridItem), | 146 m_gridItem(o.m_gridItem), |
156 m_scrollSnap(o.m_scrollSnap), | 147 m_scrollSnap(o.m_scrollSnap), |
157 m_content(o.m_content ? o.m_content->clone() : nullptr), | 148 m_content(o.m_content ? o.m_content->clone() : nullptr), |
158 m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) | 149 m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) |
159 : nullptr), | 150 : nullptr), |
160 m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) | 151 m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) |
(...skipping 19 matching lines...) Expand all Loading... |
180 m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor), | 171 m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor), |
181 m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor), | 172 m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor), |
182 m_variables(o.m_variables ? o.m_variables->copy() : nullptr), | 173 m_variables(o.m_variables ? o.m_variables->copy() : nullptr), |
183 m_alignContent(o.m_alignContent), | 174 m_alignContent(o.m_alignContent), |
184 m_alignItems(o.m_alignItems), | 175 m_alignItems(o.m_alignItems), |
185 m_alignSelf(o.m_alignSelf), | 176 m_alignSelf(o.m_alignSelf), |
186 m_justifyContent(o.m_justifyContent), | 177 m_justifyContent(o.m_justifyContent), |
187 m_justifyItems(o.m_justifyItems), | 178 m_justifyItems(o.m_justifyItems), |
188 m_justifySelf(o.m_justifySelf), | 179 m_justifySelf(o.m_justifySelf), |
189 m_pageSizeType(o.m_pageSizeType), | 180 m_pageSizeType(o.m_pageSizeType), |
190 m_transformStyle3D(o.m_transformStyle3D), | |
191 m_backfaceVisibility(o.m_backfaceVisibility), | |
192 userDrag(o.userDrag), | 181 userDrag(o.userDrag), |
193 textOverflow(o.textOverflow), | 182 textOverflow(o.textOverflow), |
194 marginBeforeCollapse(o.marginBeforeCollapse), | 183 marginBeforeCollapse(o.marginBeforeCollapse), |
195 marginAfterCollapse(o.marginAfterCollapse), | 184 marginAfterCollapse(o.marginAfterCollapse), |
196 m_appearance(o.m_appearance), | 185 m_appearance(o.m_appearance), |
197 m_textDecorationStyle(o.m_textDecorationStyle), | 186 m_textDecorationStyle(o.m_textDecorationStyle), |
198 m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation), | 187 m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation), |
199 m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation), | 188 m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation), |
200 m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation), | 189 m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation), |
201 m_hasCurrentBackdropFilterAnimation( | 190 m_hasCurrentBackdropFilterAnimation( |
202 o.m_hasCurrentBackdropFilterAnimation), | 191 o.m_hasCurrentBackdropFilterAnimation), |
203 m_runningOpacityAnimationOnCompositor( | 192 m_runningOpacityAnimationOnCompositor( |
204 o.m_runningOpacityAnimationOnCompositor), | 193 o.m_runningOpacityAnimationOnCompositor), |
205 m_runningTransformAnimationOnCompositor( | 194 m_runningTransformAnimationOnCompositor( |
206 o.m_runningTransformAnimationOnCompositor), | 195 o.m_runningTransformAnimationOnCompositor), |
207 m_runningFilterAnimationOnCompositor( | 196 m_runningFilterAnimationOnCompositor( |
208 o.m_runningFilterAnimationOnCompositor), | 197 o.m_runningFilterAnimationOnCompositor), |
209 m_runningBackdropFilterAnimationOnCompositor( | 198 m_runningBackdropFilterAnimationOnCompositor( |
210 o.m_runningBackdropFilterAnimationOnCompositor), | 199 o.m_runningBackdropFilterAnimationOnCompositor), |
211 m_isStackingContext(o.m_isStackingContext), | |
212 m_effectiveBlendMode(o.m_effectiveBlendMode), | 200 m_effectiveBlendMode(o.m_effectiveBlendMode), |
213 m_touchAction(o.m_touchAction), | 201 m_touchAction(o.m_touchAction), |
214 m_objectFit(o.m_objectFit), | 202 m_objectFit(o.m_objectFit), |
215 m_isolation(o.m_isolation), | 203 m_isolation(o.m_isolation), |
216 m_contain(o.m_contain), | 204 m_contain(o.m_contain), |
217 m_scrollBehavior(o.m_scrollBehavior), | 205 m_scrollBehavior(o.m_scrollBehavior), |
218 m_scrollSnapType(o.m_scrollSnapType), | 206 m_scrollSnapType(o.m_scrollSnapType), |
219 m_requiresAcceleratedCompositingForExternalReasons( | 207 m_requiresAcceleratedCompositingForExternalReasons( |
220 o.m_requiresAcceleratedCompositingForExternalReasons), | 208 o.m_requiresAcceleratedCompositingForExternalReasons), |
221 m_hasInlineTransform(o.m_hasInlineTransform), | |
222 m_resize(o.m_resize), | 209 m_resize(o.m_resize), |
223 m_hasCompositorProxy(o.m_hasCompositorProxy), | 210 m_hasCompositorProxy(o.m_hasCompositorProxy), |
224 m_hasAuthorBackground(o.m_hasAuthorBackground), | 211 m_hasAuthorBackground(o.m_hasAuthorBackground), |
225 m_hasAuthorBorder(o.m_hasAuthorBorder) {} | 212 m_hasAuthorBorder(o.m_hasAuthorBorder) {} |
226 | 213 |
227 StyleRareNonInheritedData::~StyleRareNonInheritedData() {} | 214 StyleRareNonInheritedData::~StyleRareNonInheritedData() {} |
228 | 215 |
229 bool StyleRareNonInheritedData::operator==( | 216 bool StyleRareNonInheritedData::operator==( |
230 const StyleRareNonInheritedData& o) const { | 217 const StyleRareNonInheritedData& o) const { |
231 return opacity == o.opacity && m_perspective == o.m_perspective && | 218 return opacity == o.opacity && |
232 m_shapeImageThreshold == o.m_shapeImageThreshold && | 219 m_shapeImageThreshold == o.m_shapeImageThreshold && |
233 m_order == o.m_order && m_perspectiveOrigin == o.m_perspectiveOrigin && | 220 m_order == o.m_order && m_objectPosition == o.m_objectPosition && |
234 m_objectPosition == o.m_objectPosition && lineClamp == o.lineClamp && | 221 lineClamp == o.lineClamp && |
235 m_draggableRegionMode == o.m_draggableRegionMode && | 222 m_draggableRegionMode == o.m_draggableRegionMode && |
236 m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox && | 223 m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox && |
237 m_flexibleBox == o.m_flexibleBox && m_multiCol == o.m_multiCol && | 224 m_flexibleBox == o.m_flexibleBox && m_multiCol == o.m_multiCol && |
238 m_transform == o.m_transform && m_willChange == o.m_willChange && | 225 m_willChange == o.m_willChange && m_filter == o.m_filter && |
239 m_filter == o.m_filter && m_backdropFilter == o.m_backdropFilter && | 226 m_backdropFilter == o.m_backdropFilter && m_grid == o.m_grid && |
240 m_grid == o.m_grid && m_gridItem == o.m_gridItem && | 227 m_gridItem == o.m_gridItem && m_scrollSnap == o.m_scrollSnap && |
241 m_scrollSnap == o.m_scrollSnap && contentDataEquivalent(o) && | 228 contentDataEquivalent(o) && counterDataEquivalent(o) && |
242 counterDataEquivalent(o) && shadowDataEquivalent(o) && | 229 shadowDataEquivalent(o) && reflectionDataEquivalent(o) && |
243 reflectionDataEquivalent(o) && animationDataEquivalent(o) && | 230 animationDataEquivalent(o) && transitionDataEquivalent(o) && |
244 transitionDataEquivalent(o) && shapeOutsideDataEquivalent(o) && | 231 shapeOutsideDataEquivalent(o) && m_mask == o.m_mask && |
245 m_mask == o.m_mask && m_maskBoxImage == o.m_maskBoxImage && | 232 m_maskBoxImage == o.m_maskBoxImage && m_pageSize == o.m_pageSize && |
246 m_pageSize == o.m_pageSize && m_shapeMargin == o.m_shapeMargin && | 233 m_shapeMargin == o.m_shapeMargin && m_outline == o.m_outline && |
247 m_outline == o.m_outline && clipPathDataEquivalent(o) && | 234 clipPathDataEquivalent(o) && |
248 m_textDecorationColor == o.m_textDecorationColor && | 235 m_textDecorationColor == o.m_textDecorationColor && |
249 m_visitedLinkTextDecorationColor == | 236 m_visitedLinkTextDecorationColor == |
250 o.m_visitedLinkTextDecorationColor && | 237 o.m_visitedLinkTextDecorationColor && |
251 m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor && | 238 m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor && |
252 m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor && | 239 m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor && |
253 m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor && | 240 m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor && |
254 m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor && | 241 m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor && |
255 m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor && | 242 m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor && |
256 m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor && | 243 m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor && |
257 m_callbackSelectors == o.m_callbackSelectors && | 244 m_callbackSelectors == o.m_callbackSelectors && |
258 dataEquivalent(m_variables, o.m_variables) && | 245 dataEquivalent(m_variables, o.m_variables) && |
259 m_alignContent == o.m_alignContent && m_alignItems == o.m_alignItems && | 246 m_alignContent == o.m_alignContent && m_alignItems == o.m_alignItems && |
260 m_alignSelf == o.m_alignSelf && | 247 m_alignSelf == o.m_alignSelf && |
261 m_justifyContent == o.m_justifyContent && | 248 m_justifyContent == o.m_justifyContent && |
262 m_justifyItems == o.m_justifyItems && | 249 m_justifyItems == o.m_justifyItems && |
263 m_justifySelf == o.m_justifySelf && | 250 m_justifySelf == o.m_justifySelf && |
264 m_pageSizeType == o.m_pageSizeType && | 251 m_pageSizeType == o.m_pageSizeType && userDrag == o.userDrag && |
265 m_transformStyle3D == o.m_transformStyle3D && | 252 textOverflow == o.textOverflow && |
266 m_backfaceVisibility == o.m_backfaceVisibility && | |
267 userDrag == o.userDrag && textOverflow == o.textOverflow && | |
268 marginBeforeCollapse == o.marginBeforeCollapse && | 253 marginBeforeCollapse == o.marginBeforeCollapse && |
269 marginAfterCollapse == o.marginAfterCollapse && | 254 marginAfterCollapse == o.marginAfterCollapse && |
270 m_appearance == o.m_appearance && | 255 m_appearance == o.m_appearance && |
271 m_textDecorationStyle == o.m_textDecorationStyle && | 256 m_textDecorationStyle == o.m_textDecorationStyle && |
272 m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation && | 257 m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation && |
273 m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation && | 258 m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation && |
274 m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation && | 259 m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation && |
275 m_hasCurrentBackdropFilterAnimation == | 260 m_hasCurrentBackdropFilterAnimation == |
276 o.m_hasCurrentBackdropFilterAnimation && | 261 o.m_hasCurrentBackdropFilterAnimation && |
277 m_isStackingContext == o.m_isStackingContext && | |
278 m_effectiveBlendMode == o.m_effectiveBlendMode && | 262 m_effectiveBlendMode == o.m_effectiveBlendMode && |
279 m_touchAction == o.m_touchAction && m_objectFit == o.m_objectFit && | 263 m_touchAction == o.m_touchAction && m_objectFit == o.m_objectFit && |
280 m_isolation == o.m_isolation && m_contain == o.m_contain && | 264 m_isolation == o.m_isolation && m_contain == o.m_contain && |
281 m_scrollBehavior == o.m_scrollBehavior && | 265 m_scrollBehavior == o.m_scrollBehavior && |
282 m_scrollSnapType == o.m_scrollSnapType && | 266 m_scrollSnapType == o.m_scrollSnapType && |
283 m_requiresAcceleratedCompositingForExternalReasons == | 267 m_requiresAcceleratedCompositingForExternalReasons == |
284 o.m_requiresAcceleratedCompositingForExternalReasons && | 268 o.m_requiresAcceleratedCompositingForExternalReasons && |
285 m_hasInlineTransform == o.m_hasInlineTransform && | |
286 m_resize == o.m_resize && | 269 m_resize == o.m_resize && |
287 m_hasCompositorProxy == o.m_hasCompositorProxy && | 270 m_hasCompositorProxy == o.m_hasCompositorProxy && |
288 m_hasAuthorBackground == o.m_hasAuthorBackground && | 271 m_hasAuthorBackground == o.m_hasAuthorBackground && |
289 m_hasAuthorBorder == o.m_hasAuthorBorder; | 272 m_hasAuthorBorder == o.m_hasAuthorBorder; |
290 } | 273 } |
291 | 274 |
292 bool StyleRareNonInheritedData::contentDataEquivalent( | 275 bool StyleRareNonInheritedData::contentDataEquivalent( |
293 const StyleRareNonInheritedData& o) const { | 276 const StyleRareNonInheritedData& o) const { |
294 ContentData* a = m_content.get(); | 277 ContentData* a = m_content.get(); |
295 ContentData* b = o.m_content.get(); | 278 ContentData* b = o.m_content.get(); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 const StyleRareNonInheritedData& o) const { | 330 const StyleRareNonInheritedData& o) const { |
348 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); | 331 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); |
349 } | 332 } |
350 | 333 |
351 bool StyleRareNonInheritedData::clipPathDataEquivalent( | 334 bool StyleRareNonInheritedData::clipPathDataEquivalent( |
352 const StyleRareNonInheritedData& o) const { | 335 const StyleRareNonInheritedData& o) const { |
353 return dataEquivalent(m_clipPath, o.m_clipPath); | 336 return dataEquivalent(m_clipPath, o.m_clipPath); |
354 } | 337 } |
355 | 338 |
356 } // namespace blink | 339 } // namespace blink |
OLD | NEW |