summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt
diff options
context:
space:
mode:
authorskobes <skobes@chromium.org>2015-11-20 10:12:45 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-20 18:14:20 +0000
commitbf0a5ac073c0844a514a979beab5c8b08a445393 (patch)
tree83d5ac78c64ad52a53b552abd7ba450ff810de48 /third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt
parent6b6b9bb0701018281894dacf08223c5e751a49fb (diff)
downloadchromium_src-bf0a5ac073c0844a514a979beab5c8b08a445393.zip
chromium_src-bf0a5ac073c0844a514a979beab5c8b08a445393.tar.gz
chromium_src-bf0a5ac073c0844a514a979beab5c8b08a445393.tar.bz2
Clip scrollbars to box bounds when they don't fit.
There are three cases: (1) scroller is a non-composited self-painting layer (2) scroller is not a self-painting layer (3) scroller is a composited layer (3a) scroller is a composited layer that does not use composited scrolling Case (1) already worked correctly through the background clip applied by PaintLayerPainter. Case (2) is addressed by the change in BlockPainter. Case (3) is addressed by the changes in CompositedLayerMapping. The clip is applied by m_overflowControlsHostLayer. GraphicsLayerTreeBuilder is modified to preserve the layer tree in case (3a). I have renamed m_overflowControlsClippingLayer for clarity, since the overflow controls can now be clipped for two different reasons. Note that for an iframe with CSS "resize", the scroll corner comes from the iframe element's CompositedLayerMapping, not the inner PaintLayerCompositor. For this reason, PLC::attachFrameContentLayersToIframeLayer must preserve overflow controls just like the "!parented" path of GraphicsLayerTreeBuilder. BUG=549174 Review URL: https://codereview.chromium.org/1448253002 Cr-Commit-Position: refs/heads/master@{#360860}
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt b/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt
index 425e679..b0058b6 100644
--- a/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt
+++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/fixed-position-in-fixed-overflow-expected.txt
@@ -31,6 +31,7 @@
]
},
{
+ "bounds": [800, 600],
"children": [
{
"position": [785, 0],