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> |