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

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

Issue 1485973005: Add CSS support for Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test expectation Created 5 years 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 , m_hasCurrentFilterAnimation(false) 111 , m_hasCurrentFilterAnimation(false)
112 , m_hasCurrentBackdropFilterAnimation(false) 112 , m_hasCurrentBackdropFilterAnimation(false)
113 , m_runningOpacityAnimationOnCompositor(false) 113 , m_runningOpacityAnimationOnCompositor(false)
114 , m_runningTransformAnimationOnCompositor(false) 114 , m_runningTransformAnimationOnCompositor(false)
115 , m_runningFilterAnimationOnCompositor(false) 115 , m_runningFilterAnimationOnCompositor(false)
116 , m_runningBackdropFilterAnimationOnCompositor(false) 116 , m_runningBackdropFilterAnimationOnCompositor(false)
117 , m_effectiveBlendMode(ComputedStyle::initialBlendMode()) 117 , m_effectiveBlendMode(ComputedStyle::initialBlendMode())
118 , m_touchAction(ComputedStyle::initialTouchAction()) 118 , m_touchAction(ComputedStyle::initialTouchAction())
119 , m_objectFit(ComputedStyle::initialObjectFit()) 119 , m_objectFit(ComputedStyle::initialObjectFit())
120 , m_isolation(ComputedStyle::initialIsolation()) 120 , m_isolation(ComputedStyle::initialIsolation())
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())
126 , m_hasCompositorProxy(false) 127 , m_hasCompositorProxy(false)
127 , m_hasAuthorBackground(false) 128 , m_hasAuthorBackground(false)
128 , m_hasAuthorBorder(false) 129 , m_hasAuthorBorder(false)
129 { 130 {
130 m_maskBoxImage.setMaskDefaults(); 131 m_maskBoxImage.setMaskDefaults();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)
198 , m_effectiveBlendMode(o.m_effectiveBlendMode) 199 , m_effectiveBlendMode(o.m_effectiveBlendMode)
199 , m_touchAction(o.m_touchAction) 200 , m_touchAction(o.m_touchAction)
200 , m_objectFit(o.m_objectFit) 201 , m_objectFit(o.m_objectFit)
201 , m_isolation(o.m_isolation) 202 , m_isolation(o.m_isolation)
203 , m_contain(o.m_contain)
202 , m_scrollBehavior(o.m_scrollBehavior) 204 , m_scrollBehavior(o.m_scrollBehavior)
203 , m_scrollSnapType(o.m_scrollSnapType) 205 , m_scrollSnapType(o.m_scrollSnapType)
204 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons) 206 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons)
205 , m_hasInlineTransform(o.m_hasInlineTransform) 207 , m_hasInlineTransform(o.m_hasInlineTransform)
206 , m_resize(o.m_resize) 208 , m_resize(o.m_resize)
207 , m_hasCompositorProxy(o.m_hasCompositorProxy) 209 , m_hasCompositorProxy(o.m_hasCompositorProxy)
208 , m_hasAuthorBackground(o.m_hasAuthorBackground) 210 , m_hasAuthorBackground(o.m_hasAuthorBackground)
209 , m_hasAuthorBorder(o.m_hasAuthorBorder) 211 , m_hasAuthorBorder(o.m_hasAuthorBorder)
210 { 212 {
211 } 213 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 && m_wrapFlow == o.m_wrapFlow 284 && m_wrapFlow == o.m_wrapFlow
283 && m_wrapThrough == o.m_wrapThrough 285 && m_wrapThrough == o.m_wrapThrough
284 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation 286 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation
285 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation 287 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation
286 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation 288 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation
287 && m_hasCurrentBackdropFilterAnimation == o.m_hasCurrentBackdropFilterAn imation 289 && m_hasCurrentBackdropFilterAnimation == o.m_hasCurrentBackdropFilterAn imation
288 && m_effectiveBlendMode == o.m_effectiveBlendMode 290 && m_effectiveBlendMode == o.m_effectiveBlendMode
289 && m_touchAction == o.m_touchAction 291 && m_touchAction == o.m_touchAction
290 && m_objectFit == o.m_objectFit 292 && m_objectFit == o.m_objectFit
291 && m_isolation == o.m_isolation 293 && m_isolation == o.m_isolation
294 && m_contain == o.m_contain
292 && m_scrollBehavior == o.m_scrollBehavior 295 && m_scrollBehavior == o.m_scrollBehavior
293 && m_scrollSnapType == o.m_scrollSnapType 296 && m_scrollSnapType == o.m_scrollSnapType
294 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons 297 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons
295 && m_hasInlineTransform == o.m_hasInlineTransform 298 && m_hasInlineTransform == o.m_hasInlineTransform
296 && m_resize == o.m_resize 299 && m_resize == o.m_resize
297 && m_hasCompositorProxy == o.m_hasCompositorProxy 300 && m_hasCompositorProxy == o.m_hasCompositorProxy
298 && m_hasAuthorBackground == o.m_hasAuthorBackground 301 && m_hasAuthorBackground == o.m_hasAuthorBackground
299 && m_hasAuthorBorder == o.m_hasAuthorBorder; 302 && m_hasAuthorBorder == o.m_hasAuthorBorder;
300 } 303 }
301 304
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 { 362 {
360 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); 363 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
361 } 364 }
362 365
363 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const 366 bool StyleRareNonInheritedData::clipPathDataEquivalent(const StyleRareNonInherit edData& o) const
364 { 367 {
365 return dataEquivalent(m_clipPath, o.m_clipPath); 368 return dataEquivalent(m_clipPath, o.m_clipPath);
366 } 369 }
367 370
368 } // namespace blink 371 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698