Index: LayoutTests/fast/repaint/inline-outline-repaint-2.html |
diff --git a/LayoutTests/fast/repaint/inline-outline-repaint-2.html b/LayoutTests/fast/repaint/inline-outline-repaint-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3324608a8a5297810eec20fed1fca2e08fea9ab8 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/inline-outline-repaint-2.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<script src=resources/text-based-repaint.js></script> |
+<style> |
+body { |
+ margin: 0; |
+ padding: 0; |
+} |
+.foo { |
Julien - ping for review
2015/06/08 15:46:11
foo :(
fs
2015/06/08 16:15:37
Restructured a bit and dropped the foo (in favor o
|
+ outline: 5px solid blue; |
+} |
+.container { |
+ position: absolute; |
+ width: 255px; |
+ text-align: right; |
+ font: 10px Ahem; |
+} |
+</style> |
+<div class=container> |
+ <span class=foo>Test</span> |
+</div> |
+<script> |
+function repaintTest() { |
+ document.querySelector('div').style.color = 'green'; |
Julien - ping for review
2015/06/08 15:46:11
document.getElementsByClassName['container'][0] (o
fs
2015/06/08 16:15:37
Changed to using an id.
|
+} |
+onload = runRepaintTest; |
+</script> |