Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Animation expectation Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 , m_wrapFlow(ComputedStyle::initialWrapFlow()) 106 , m_wrapFlow(ComputedStyle::initialWrapFlow())
107 , m_wrapThrough(ComputedStyle::initialWrapThrough()) 107 , m_wrapThrough(ComputedStyle::initialWrapThrough())
108 , m_hasCurrentOpacityAnimation(false) 108 , m_hasCurrentOpacityAnimation(false)
109 , m_hasCurrentTransformAnimation(false) 109 , m_hasCurrentTransformAnimation(false)
110 , m_hasCurrentFilterAnimation(false) 110 , m_hasCurrentFilterAnimation(false)
111 , m_hasCurrentBackdropFilterAnimation(false) 111 , m_hasCurrentBackdropFilterAnimation(false)
112 , m_runningOpacityAnimationOnCompositor(false) 112 , m_runningOpacityAnimationOnCompositor(false)
113 , m_runningTransformAnimationOnCompositor(false) 113 , m_runningTransformAnimationOnCompositor(false)
114 , m_runningFilterAnimationOnCompositor(false) 114 , m_runningFilterAnimationOnCompositor(false)
115 , m_runningBackdropFilterAnimationOnCompositor(false) 115 , m_runningBackdropFilterAnimationOnCompositor(false)
116 , m_isStackingContext(false)
116 , m_effectiveBlendMode(ComputedStyle::initialBlendMode()) 117 , m_effectiveBlendMode(ComputedStyle::initialBlendMode())
117 , m_touchAction(ComputedStyle::initialTouchAction()) 118 , m_touchAction(ComputedStyle::initialTouchAction())
118 , m_objectFit(ComputedStyle::initialObjectFit()) 119 , m_objectFit(ComputedStyle::initialObjectFit())
119 , m_isolation(ComputedStyle::initialIsolation()) 120 , m_isolation(ComputedStyle::initialIsolation())
120 , m_contain(ComputedStyle::initialContain()) 121 , m_contain(ComputedStyle::initialContain())
121 , m_scrollBehavior(ComputedStyle::initialScrollBehavior()) 122 , m_scrollBehavior(ComputedStyle::initialScrollBehavior())
122 , m_scrollSnapType(ComputedStyle::initialScrollSnapType()) 123 , m_scrollSnapType(ComputedStyle::initialScrollSnapType())
123 , m_requiresAcceleratedCompositingForExternalReasons(false) 124 , m_requiresAcceleratedCompositingForExternalReasons(false)
124 , m_hasInlineTransform(false) 125 , m_hasInlineTransform(false)
125 , m_resize(ComputedStyle::initialResize()) 126 , m_resize(ComputedStyle::initialResize())
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 , m_wrapFlow(o.m_wrapFlow) 189 , m_wrapFlow(o.m_wrapFlow)
189 , m_wrapThrough(o.m_wrapThrough) 190 , m_wrapThrough(o.m_wrapThrough)
190 , m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation) 191 , m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation)
191 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation) 192 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation)
192 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation) 193 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation)
193 , m_hasCurrentBackdropFilterAnimation(o.m_hasCurrentBackdropFilterAnimation) 194 , m_hasCurrentBackdropFilterAnimation(o.m_hasCurrentBackdropFilterAnimation)
194 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi tor) 195 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi tor)
195 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom positor) 196 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom positor)
196 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito r) 197 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito r)
197 , m_runningBackdropFilterAnimationOnCompositor(o.m_runningBackdropFilterAnim ationOnCompositor) 198 , m_runningBackdropFilterAnimationOnCompositor(o.m_runningBackdropFilterAnim ationOnCompositor)
199 , m_isStackingContext(o.m_isStackingContext)
198 , m_effectiveBlendMode(o.m_effectiveBlendMode) 200 , m_effectiveBlendMode(o.m_effectiveBlendMode)
199 , m_touchAction(o.m_touchAction) 201 , m_touchAction(o.m_touchAction)
200 , m_objectFit(o.m_objectFit) 202 , m_objectFit(o.m_objectFit)
201 , m_isolation(o.m_isolation) 203 , m_isolation(o.m_isolation)
202 , m_contain(o.m_contain) 204 , m_contain(o.m_contain)
203 , m_scrollBehavior(o.m_scrollBehavior) 205 , m_scrollBehavior(o.m_scrollBehavior)
204 , m_scrollSnapType(o.m_scrollSnapType) 206 , m_scrollSnapType(o.m_scrollSnapType)
205 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons) 207 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons)
206 , m_hasInlineTransform(o.m_hasInlineTransform) 208 , m_hasInlineTransform(o.m_hasInlineTransform)
207 , m_resize(o.m_resize) 209 , m_resize(o.m_resize)
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 && marginBeforeCollapse == o.marginBeforeCollapse 272 && marginBeforeCollapse == o.marginBeforeCollapse
271 && marginAfterCollapse == o.marginAfterCollapse 273 && marginAfterCollapse == o.marginAfterCollapse
272 && m_appearance == o.m_appearance 274 && m_appearance == o.m_appearance
273 && m_textDecorationStyle == o.m_textDecorationStyle 275 && m_textDecorationStyle == o.m_textDecorationStyle
274 && m_wrapFlow == o.m_wrapFlow 276 && m_wrapFlow == o.m_wrapFlow
275 && m_wrapThrough == o.m_wrapThrough 277 && m_wrapThrough == o.m_wrapThrough
276 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation 278 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation
277 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation 279 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation
278 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation 280 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation
279 && m_hasCurrentBackdropFilterAnimation == o.m_hasCurrentBackdropFilterAn imation 281 && m_hasCurrentBackdropFilterAnimation == o.m_hasCurrentBackdropFilterAn imation
282 && m_isStackingContext == o.m_isStackingContext
280 && m_effectiveBlendMode == o.m_effectiveBlendMode 283 && m_effectiveBlendMode == o.m_effectiveBlendMode
281 && m_touchAction == o.m_touchAction 284 && m_touchAction == o.m_touchAction
282 && m_objectFit == o.m_objectFit 285 && m_objectFit == o.m_objectFit
283 && m_isolation == o.m_isolation 286 && m_isolation == o.m_isolation
284 && m_contain == o.m_contain 287 && m_contain == o.m_contain
285 && m_scrollBehavior == o.m_scrollBehavior 288 && m_scrollBehavior == o.m_scrollBehavior
286 && m_scrollSnapType == o.m_scrollSnapType 289 && m_scrollSnapType == o.m_scrollSnapType
287 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons 290 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons
288 && m_hasInlineTransform == o.m_hasInlineTransform 291 && m_hasInlineTransform == o.m_hasInlineTransform
289 && m_resize == o.m_resize 292 && m_resize == o.m_resize
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 { 355 {
353 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); 356 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
354 } 357 }
355 358
356 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const 359 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const
357 { 360 {
358 return dataEquivalent(m_clipPath, o.m_clipPath); 361 return dataEquivalent(m_clipPath, o.m_clipPath);
359 } 362 }
360 363
361 } // namespace blink 364 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698