Index: third_party/WebKit/LayoutTests/paint/invalidation/inline-color-change.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/inline-color-change.html b/third_party/WebKit/LayoutTests/paint/invalidation/inline-color-change.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..82032bc4a0f6bf33cb8ac3c39f93fdb7ad879d7d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/inline-color-change.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
+ "http:/html4/strict.dtd"> |
+<html lang="en"> |
+<head> |
+ <script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+ <script type="text/javascript"> |
+ function repaintTest() |
+ { |
+ document.getElementById("target").style.backgroundColor = ''; |
+ document.getElementById("target").style.color = 'green'; |
+ } |
+ </script> |
+</head> |
+<body onload="runRepaintAndPixelTest();"> |
+ <p> |
+ Repaint test for <i><a href="rdar://problem/6518850">rdar://problem/6518850</a></i> |
+ Make sure that an inline repaints using its line boxes and not using LayoutBox width()/height(). |
+ </p> |
+ <p><span id="target" style="background-color:red; color:red">PASS</span></p> |
+</body> |
+</html> |