Changeset 117537 in webkit
- Timestamp:
- May 17, 2012 9:33:59 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117531 r117537 1 2012-05-17 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/11419933> Problems with flipped writing modes and compositing 4 https://bugs.webkit.org/show_bug.cgi?id=86032 5 6 Reviewed by Anders Carlsson. 7 8 * compositing/bounds-in-flipped-writing-mode-expected.txt: Added. 9 * compositing/bounds-in-flipped-writing-mode.html: Added. 10 1 11 2012-05-17 Peter Kasting <pkasting@google.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r117536 r117537 1 2012-05-17 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/11419933> Problems with flipped writing modes and compositing 4 https://bugs.webkit.org/show_bug.cgi?id=86032 5 6 Reviewed by Anders Carlsson. 7 8 Test: compositing/bounds-in-flipped-writing-mode.html 9 10 * rendering/RenderLayer.cpp: 11 (WebCore::RenderLayer::calculateLayerBounds): Apply a writing-mode flip to the bounding box 12 if needed. 13 1 14 2012-05-17 Kentaro Hara <haraken@chromium.org> 2 15 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r117162 r117537 4150 4150 if (!layer->isSelfPaintingLayer()) 4151 4151 return IntRect(); 4152 4152 4153 4153 LayoutRect boundingBoxRect = layer->localBoundingBox(); 4154 if (layer->renderer()->isBox()) 4155 layer->renderBox()->flipForWritingMode(boundingBoxRect); 4156 else 4157 layer->renderer()->containingBlock()->flipForWritingMode(boundingBoxRect); 4158 4154 4159 if (layer->renderer()->isRoot()) { 4155 4160 // If the root layer becomes composited (e.g. because some descendant with negative z-index is composited),
Note: See TracChangeset
for help on using the changeset viewer.