Index: LayoutTests/fast/repaint/outline-change-repaint.html |
diff --git a/LayoutTests/fast/repaint/outline-change-repaint.html b/LayoutTests/fast/repaint/outline-change-repaint.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a56de92c6e361096bc4c281a2b2bcac7e7ac59e |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/outline-change-repaint.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE HTML> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+ function repaintTest() |
+ { |
+ // Changing outline will cause a repaint but no layout. |
+ document.getElementById("test").style['outline'] = 'solid black 10px'; |
+ } |
+ window.onload = runRepaintTest; |
+</script> |
+<style> |
+ body { |
+ margin: 0; |
+ } |
+</style> |
+<div id="test" style="background-color: green; width: 100px; height: 100px; outline: solid black 5px;"></div> |
+<!-- Tests the repainting of outline when changed. --> |