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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

Issue 2388723004: [SPInvalidation] Fix PrePaintTreeWalk for multicol spanner (Closed)
Patch Set: Revert ContainingBlockContext changes Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PaintPropertyTreeBuilder_h 5 #ifndef PaintPropertyTreeBuilder_h
6 #define PaintPropertyTreeBuilder_h 6 #define PaintPropertyTreeBuilder_h
7 7
8 #include "platform/geometry/LayoutPoint.h" 8 #include "platform/geometry/LayoutPoint.h"
9 #include "platform/graphics/paint/ClipPaintPropertyNode.h" 9 #include "platform/graphics/paint/ClipPaintPropertyNode.h"
10 #include "platform/graphics/paint/EffectPaintPropertyNode.h" 10 #include "platform/graphics/paint/EffectPaintPropertyNode.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ContainingBlockContext absolutePosition; 64 ContainingBlockContext absolutePosition;
65 const LayoutObject* containerForAbsolutePosition = nullptr; 65 const LayoutObject* containerForAbsolutePosition = nullptr;
66 66
67 ContainingBlockContext fixedPosition; 67 ContainingBlockContext fixedPosition;
68 68
69 // The effect hierarchy is applied by the stacking context tree. It is 69 // The effect hierarchy is applied by the stacking context tree. It is
70 // guaranteed that every DOM descendant is also a stacking context descendant. 70 // guaranteed that every DOM descendant is also a stacking context descendant.
71 // Therefore, we don't need extra bookkeeping for effect nodes and can 71 // Therefore, we don't need extra bookkeeping for effect nodes and can
72 // generate the effect tree from a DOM-order traversal. 72 // generate the effect tree from a DOM-order traversal.
73 const EffectPaintPropertyNode* currentEffect = nullptr; 73 const EffectPaintPropertyNode* currentEffect = nullptr;
74
75 bool isUnderMultiColumnSpanner = false;
74 }; 76 };
75 77
76 // Creates paint property tree nodes for special things in the layout tree. 78 // Creates paint property tree nodes for special things in the layout tree.
77 // Special things include but not limit to: overflow clip, transform, fixed-pos, 79 // Special things include but not limit to: overflow clip, transform, fixed-pos,
78 // animation, mask, filter, ... etc. 80 // animation, mask, filter, ... etc.
79 // It expects to be invoked for each layout tree node in DOM order during 81 // It expects to be invoked for each layout tree node in DOM order during
80 // InPrePaint phase. 82 // InPrePaint phase.
81 class PaintPropertyTreeBuilder { 83 class PaintPropertyTreeBuilder {
82 public: 84 public:
83 PaintPropertyTreeBuilderContext setupInitialContext(); 85 PaintPropertyTreeBuilderContext setupInitialContext();
(...skipping 30 matching lines...) Expand all
114 static void updateScrollAndScrollTranslation( 116 static void updateScrollAndScrollTranslation(
115 const LayoutObject&, 117 const LayoutObject&,
116 PaintPropertyTreeBuilderContext&); 118 PaintPropertyTreeBuilderContext&);
117 static void updateOutOfFlowContext(const LayoutObject&, 119 static void updateOutOfFlowContext(const LayoutObject&,
118 PaintPropertyTreeBuilderContext&); 120 PaintPropertyTreeBuilderContext&);
119 }; 121 };
120 122
121 } // namespace blink 123 } // namespace blink
122 124
123 #endif // PaintPropertyTreeBuilder_h 125 #endif // PaintPropertyTreeBuilder_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698