Changeset 156850 in webkit
- Timestamp:
- Oct 3, 2013 12:53:13 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r156848 r156850 1 2013-10-03 Mihai Maerean <mmaerean@adobe.com> 2 3 [CSS Regions] Follow-up code style change after bug #121828 All regions have layers 4 https://bugs.webkit.org/show_bug.cgi?id=122265 5 6 Reviewed by Darin Adler. 7 8 Comments moved to the cpp file, as requested in the review of bug #121828 All regions have layers. 9 10 No new tests, no behavior change. 11 12 * rendering/RenderMultiColumnSet.cpp: 13 (WebCore::RenderMultiColumnSet::requiresLayer): 14 * rendering/RenderMultiColumnSet.h: 15 * rendering/RenderRegion.cpp: 16 (WebCore::RenderRegion::requiresLayer): 17 * rendering/RenderRegion.h: 18 1 19 2013-10-03 Alejandro G. Castro <alex@igalia.com> 2 20 -
trunk/Source/WebCore/rendering/RenderMultiColumnSet.cpp
r156478 r156850 412 412 } 413 413 414 bool RenderMultiColumnSet::requiresLayer() const 415 { 416 // RenderMultiColumnSet derives from RenderRegion, but unlike the CSS Regions specification, the Multi-Columns CSS 417 // specification states that the column boxes do not establish new Stacking Contexts. 418 return RenderBlockFlow::requiresLayer(); 419 } 420 414 421 void RenderMultiColumnSet::collectLayerFragments(LayerFragments& fragments, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect) 415 422 { -
trunk/Source/WebCore/rendering/RenderMultiColumnSet.h
r156767 r156850 119 119 virtual void repaintFlowThreadContent(const LayoutRect& repaintRect, bool immediate) const OVERRIDE; 120 120 121 // RenderMultiColumnSet derives from RenderRegion, but unlike the CSS Regions specification, the Multi-Columns CSS 122 // specification states that the column boxes do not establish new Stacking Contexts. 123 virtual bool requiresLayer() const OVERRIDE FINAL { return RenderBlockFlow::requiresLayer(); } 121 virtual bool requiresLayer() const OVERRIDE; 124 122 125 123 virtual void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect) OVERRIDE; -
trunk/Source/WebCore/rendering/RenderRegion.cpp
r156767 r156850 375 375 } 376 376 377 bool RenderRegion::requiresLayer() const 378 { 379 // All regions create stacking contexts, as specified in the CSS standard. Do that by allocating a separate RenderLayer for each. 380 return true; 381 } 382 377 383 void RenderRegion::installFlowThread() 378 384 { -
trunk/Source/WebCore/rendering/RenderRegion.h
r156767 r156850 140 140 virtual void collectLayerFragments(LayerFragments&, const LayoutRect&, const LayoutRect&) { } 141 141 142 // All regions create stacking contexts, as specified in the CSS standard. Do that by allocating a separate RenderLayer for each. 143 virtual bool requiresLayer() const OVERRIDE { return true; } 142 virtual bool requiresLayer() const OVERRIDE; 144 143 145 144 void addLayoutOverflowForBox(const RenderBox*, const LayoutRect&);
Note: See TracChangeset
for help on using the changeset viewer.