Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer.html b/third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..039c98a367606cc5ede7e9e7ae1e54f75b9dad4c |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer.html |
| @@ -0,0 +1,16 @@ |
| +<!DOCTYPE html> |
| +<div id="parent" style="margin: 20px; transform: scale3d(1, 1, 1);"> |
| + <div id="test" style="height: 100px; width: 100px;"></div> |
| +</div> |
| +<script src="resources/text-based-repaint.js"></script> |
| +<p>crbug.com/621612: Change overflow on the child of a composited layer should allow the layer to resize and contain the overflow, just like it would in a layout. There should be a white box with black outline below.</p> |
| +<script> |
| +function repaintTest() { |
| + test.style.outline = "1px solid black"; |
| +} |
| +onload = function() { |
| + runRepaintTest(); |
|
Xianzhu
2016/06/27 16:53:21
Nit: onload = runRepaintAndPixelTest;
and add a r
|
| +} |
| +</script> |
| + |
| + |