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

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

Issue 474373002: Test that we repaint contents in iframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | LayoutTests/fast/repaint/repaint-in-iframe-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/repaint-in-iframe.html
diff --git a/LayoutTests/fast/repaint/repaint-in-iframe.html b/LayoutTests/fast/repaint/repaint-in-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..9141495ff1636b1356e28398d8f6159b98956527
--- /dev/null
+++ b/LayoutTests/fast/repaint/repaint-in-iframe.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/run-after-display.js"></script>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+window.onload = function() {
+ runRepaintTest();
+};
+
+function repaintTest() {
+ document.getElementsByTagName('iframe')[0]
+ .contentDocument
+ .getElementsByTagName('div')[0]
+ .style
+ .backgroundColor = 'green';
+}
+</script>
+</head>
+<div style="height: 400px"></div>
+<iframe srcdoc="<div style='height: 50px; background-color: red;'></div>"></iframe>
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/repaint-in-iframe-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698