Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Unified Diff: LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html

Issue 291563009: Don't repaint button when its click() method is called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ec8c11bb6c260cdbfac7a292dc8977a570a1856c
--- /dev/null
+++ b/LayoutTests/fast/repaint/button-checkbox-click-method-repaint.html
@@ -0,0 +1,13 @@
+<!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>
+
+<button id="button">Button</button>
+<input id="checkbox" type="checkbox">

Powered by Google App Engine
This is Rietveld 408576698