Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer.html

Issue 2098223002: Update composited layer size if overflow from children requires it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@617443-4
Patch Set: bug 621612 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
+
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/repaint/overflow-changed-on-child-of-composited-layer-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698