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

Unified Diff: LayoutTests/fast/repaint/in-scaled-iframe.html

Issue 1209133002: Traverse into child LayoutViews during invalidateTreeIfNeeded (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: public invalidateTreeIfNeeded Created 5 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 | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/in-scaled-iframe-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/in-scaled-iframe.html
diff --git a/LayoutTests/fast/repaint/in-scaled-iframe.html b/LayoutTests/fast/repaint/in-scaled-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7b92e7f505cb25b3c284c5163f2e483a780e813
--- /dev/null
+++ b/LayoutTests/fast/repaint/in-scaled-iframe.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.getElementById('iframe').contentDocument.getElementById('div').style.backgroundColor = 'green';
+}
+onload = runRepaintTest;
+</script>
+<div style="transform: scale(0.5); transform-origin: 0 0">
+ <iframe id="iframe" style="width: 800px; height: 800px"
+ srcdoc="<div id='div' style='position: absolute; top: 400px; left: 400px; width: 200px; height: 200px; background-color: red'></div>">
+ </iframe>
+</div>
+<p style="position: absolute; top: 400px">
+Tests paint invalidation in a scaled iframe. Passes if there is no red.
+</p>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/repaint/in-scaled-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698