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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 , m_hasCurrentTransformAnimation(false) | 80 , m_hasCurrentTransformAnimation(false) |
81 , m_hasCurrentFilterAnimation(false) | 81 , m_hasCurrentFilterAnimation(false) |
82 , m_runningOpacityAnimationOnCompositor(false) | 82 , m_runningOpacityAnimationOnCompositor(false) |
83 , m_runningTransformAnimationOnCompositor(false) | 83 , m_runningTransformAnimationOnCompositor(false) |
84 , m_runningFilterAnimationOnCompositor(false) | 84 , m_runningFilterAnimationOnCompositor(false) |
85 , m_hasAspectRatio(false) | 85 , m_hasAspectRatio(false) |
86 , m_effectiveBlendMode(RenderStyle::initialBlendMode()) | 86 , m_effectiveBlendMode(RenderStyle::initialBlendMode()) |
87 , m_touchAction(RenderStyle::initialTouchAction()) | 87 , m_touchAction(RenderStyle::initialTouchAction()) |
88 , m_objectFit(RenderStyle::initialObjectFit()) | 88 , m_objectFit(RenderStyle::initialObjectFit()) |
89 , m_isolation(RenderStyle::initialIsolation()) | 89 , m_isolation(RenderStyle::initialIsolation()) |
| 90 , m_justifyItems(RenderStyle::initialJustifyItems()) |
| 91 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl
ignment()) |
90 , m_justifySelf(RenderStyle::initialJustifySelf()) | 92 , m_justifySelf(RenderStyle::initialJustifySelf()) |
91 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig
nment()) | 93 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig
nment()) |
92 , m_scrollBehavior(RenderStyle::initialScrollBehavior()) | 94 , m_scrollBehavior(RenderStyle::initialScrollBehavior()) |
93 , m_requiresAcceleratedCompositingForExternalReasons(false) | 95 , m_requiresAcceleratedCompositingForExternalReasons(false) |
94 { | 96 { |
95 m_maskBoxImage.setMaskDefaults(); | 97 m_maskBoxImage.setMaskDefaults(); |
96 } | 98 } |
97 | 99 |
98 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
Data& o) | 100 StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
Data& o) |
99 : RefCounted<StyleRareNonInheritedData>() | 101 : RefCounted<StyleRareNonInheritedData>() |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation) | 162 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation) |
161 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation) | 163 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation) |
162 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi
tor) | 164 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi
tor) |
163 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom
positor) | 165 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom
positor) |
164 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito
r) | 166 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito
r) |
165 , m_hasAspectRatio(o.m_hasAspectRatio) | 167 , m_hasAspectRatio(o.m_hasAspectRatio) |
166 , m_effectiveBlendMode(o.m_effectiveBlendMode) | 168 , m_effectiveBlendMode(o.m_effectiveBlendMode) |
167 , m_touchAction(o.m_touchAction) | 169 , m_touchAction(o.m_touchAction) |
168 , m_objectFit(o.m_objectFit) | 170 , m_objectFit(o.m_objectFit) |
169 , m_isolation(o.m_isolation) | 171 , m_isolation(o.m_isolation) |
| 172 , m_justifyItems(o.m_justifyItems) |
| 173 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment) |
170 , m_justifySelf(o.m_justifySelf) | 174 , m_justifySelf(o.m_justifySelf) |
171 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) | 175 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) |
172 , m_scrollBehavior(o.m_scrollBehavior) | 176 , m_scrollBehavior(o.m_scrollBehavior) |
173 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated
CompositingForExternalReasons) | 177 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated
CompositingForExternalReasons) |
174 { | 178 { |
175 } | 179 } |
176 | 180 |
177 StyleRareNonInheritedData::~StyleRareNonInheritedData() | 181 StyleRareNonInheritedData::~StyleRareNonInheritedData() |
178 { | 182 { |
179 const FilterOperations& filterOperations = m_filter->m_operations; | 183 const FilterOperations& filterOperations = m_filter->m_operations; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 && m_wrapFlow == o.m_wrapFlow | 248 && m_wrapFlow == o.m_wrapFlow |
245 && m_wrapThrough == o.m_wrapThrough | 249 && m_wrapThrough == o.m_wrapThrough |
246 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation | 250 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation |
247 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation | 251 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation |
248 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation | 252 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation |
249 && m_effectiveBlendMode == o.m_effectiveBlendMode | 253 && m_effectiveBlendMode == o.m_effectiveBlendMode |
250 && m_hasAspectRatio == o.m_hasAspectRatio | 254 && m_hasAspectRatio == o.m_hasAspectRatio |
251 && m_touchAction == o.m_touchAction | 255 && m_touchAction == o.m_touchAction |
252 && m_objectFit == o.m_objectFit | 256 && m_objectFit == o.m_objectFit |
253 && m_isolation == o.m_isolation | 257 && m_isolation == o.m_isolation |
| 258 && m_justifyItems == o.m_justifyItems |
| 259 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment |
254 && m_justifySelf == o.m_justifySelf | 260 && m_justifySelf == o.m_justifySelf |
255 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment | 261 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment |
256 && m_scrollBehavior == o.m_scrollBehavior | 262 && m_scrollBehavior == o.m_scrollBehavior |
257 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc
eleratedCompositingForExternalReasons; | 263 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc
eleratedCompositingForExternalReasons; |
258 } | 264 } |
259 | 265 |
260 bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInherite
dData& o) const | 266 bool StyleRareNonInheritedData::contentDataEquivalent(const StyleRareNonInherite
dData& o) const |
261 { | 267 { |
262 ContentData* a = m_content.get(); | 268 ContentData* a = m_content.get(); |
263 ContentData* b = o.m_content.get(); | 269 ContentData* b = o.m_content.get(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 return false; | 308 return false; |
303 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); | 309 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); |
304 } | 310 } |
305 | 311 |
306 bool StyleRareNonInheritedData::hasFilters() const | 312 bool StyleRareNonInheritedData::hasFilters() const |
307 { | 313 { |
308 return m_filter.get() && !m_filter->m_operations.isEmpty(); | 314 return m_filter.get() && !m_filter->m_operations.isEmpty(); |
309 } | 315 } |
310 | 316 |
311 } // namespace WebCore | 317 } // namespace WebCore |
OLD | NEW |