Index: LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html |
diff --git a/LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html b/LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51699880b412b82321632d37787a286162c1215e |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() |
+{ |
+ document.getElementById('button').click(); |
+ document.getElementById('checkbox').click(); |
+} |
+window.onload = runRepaintTest; |
+</script> |
+<style> |
+#button { |
+ width: 100px; |
+ height: 50px; |
+} |
+#checkbox { |
+ width: 30px; |
+ height: 30px; |
+} |
+</style> |
+<button id="button">Button</button><br> |
+<input id="checkbox" type="checkbox"> |