summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt
diff options
context:
space:
mode:
authorjamesr@google.com <jamesr@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-04-01 22:21:20 +0000
committerjamesr@google.com <jamesr@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-04-01 22:21:20 +0000
commitcf76a36f61c98299d0127c85ac5c244f578f107c (patch)
treed60a4d83a994ad8f187e0ac5043ff5ffa38cd493 /third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt
parentd355ef234900de14a66ab893ff6d52341a52e3ed (diff)
downloadchromium_src-cf76a36f61c98299d0127c85ac5c244f578f107c.zip
chromium_src-cf76a36f61c98299d0127c85ac5c244f578f107c.tar.gz
chromium_src-cf76a36f61c98299d0127c85ac5c244f578f107c.tar.bz2
2010-04-01 James Robinson <jamesr@chromium.org>
Reviewed by Simon Fraser. Keeps a transient optimistic offset to the root in RenderLayer::updateLayerPositions https://bugs.webkit.org/show_bug.cgi?id=33520 RenderLayer::updateLayerPositions() makes a recursive walk through all RenderLayers and updates the repaint rectangles on each. These rectangles have to be calculated in the repaint container's coordinates using RenderObject::mapLocalToContainer to walk up to the repaint container. This patch keeps track of the offset to the root and uses that offset instead of walking back up to the root every time. Tests: fast/layers/nested-layers-1.html fast/layers/nested-layers-2.html fast/layers/nested-layers-3.html fast/layers/nested-layers-4.html * page/FrameView.cpp: (WebCore::FrameView::layout): * rendering/RenderBox.cpp: (WebCore::RenderBox::outlineBoundsForRepaint): * rendering/RenderBox.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositions): * rendering/RenderLayer.h: * rendering/RenderObject.h: (WebCore::RenderObject::outlineBoundsForRepaint): * rendering/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::outlineBoundsForRepaint): * rendering/RenderSVGModelObject.h: 2010-04-01 James Robinson <jamesr@chromium.org> Reviewed by Simon Fraser. Mapping from local to container coord space in updateLayerPositions is quadratic https://bugs.webkit.org/show_bug.cgi?id=33520 These tests move layers around in various ways to test that the offset caching in updateLayerPositions() is correct. * fast/layers/nested-layers-1-expected.txt: Added. * fast/layers/nested-layers-1.html: Added. * fast/layers/nested-layers-2-expected.txt: Added. * fast/layers/nested-layers-2.html: Added. * fast/layers/nested-layers-3-expected.txt: Added. * fast/layers/nested-layers-3.html: Added. * fast/layers/nested-layers-4-expected.txt: Added. * fast/layers/nested-layers-4.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@56941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt b/third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt
new file mode 100644
index 0000000..ad42d89
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/layers/nested-layers-3-expected.txt
@@ -0,0 +1,2 @@
+Tests moving layers inside with fixed position nodes. The test passes if it completes without failing any assertions in Debug mode.
+