Index: LayoutTests/fast/repaint/background-currentColor-repaint.html |
diff --git a/LayoutTests/fast/repaint/background-currentColor-repaint.html b/LayoutTests/fast/repaint/background-currentColor-repaint.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d4d398a957e7ed7d6ffea7b84f98c95e2077bd8d |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/background-currentColor-repaint.html |
@@ -0,0 +1,33 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+ |
+<style> |
+div { |
+ width: 100px; |
+ height: 100px; |
+ background: currentColor; |
+} |
+ |
+#div1 { |
+ color: blue; |
+} |
+ |
+#div2 { |
+ color: transparent; |
+} |
+ |
+</style> |
+ |
+<div id="div1"></div> |
+<div id="div2"></div> |
+ |
+<script> |
+function repaintTest() |
+{ |
+ div1.style.color = 'transparent'; |
+ div2.style.color = 'blue'; |
+} |
+ |
+window.onload = runRepaintTest; |
+ |
+</script> |