Index: LayoutTests/fast/repaint/composited-inline-repaint.html |
diff --git a/LayoutTests/fast/repaint/composited-inline-repaint.html b/LayoutTests/fast/repaint/composited-inline-repaint.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..82cf66c954ba48c77243f3e9f502bd47d69efe60 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/composited-inline-repaint.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<style> |
+a { |
+ /* Test needs to start with and maintain a layer for the inline. */ |
+ transition: all 1ms ease; |
+ will-change: opacity; |
+ opacity: 0.99; |
+ color: red; |
+ font-family: Ahem; |
+} |
+</style> |
+<script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+<a id="test">Test passes if this text is green.</a> |
+<script> |
+onload = runRepaintTest; |
+function repaintTest() |
+{ |
+ document.getElementById('test').style.color = 'green'; |
+} |
+</script> |