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

Unified Diff: LayoutTests/fast/forms/label/label-assertion-with-active-style.html

Issue 18216003: Fix an assertion failure in rendererIsFocusable of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/label/label-assertion-with-active-style-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/label/label-assertion-with-active-style.html
diff --git a/LayoutTests/fast/forms/label/label-assertion-with-active-style.html b/LayoutTests/fast/forms/label/label-assertion-with-active-style.html
new file mode 100644
index 0000000000000000000000000000000000000000..927347ffc3f4b543e27e37db977a34ed3a7907ab
--- /dev/null
+++ b/LayoutTests/fast/forms/label/label-assertion-with-active-style.html
@@ -0,0 +1,14 @@
+<script src="../resources/common.js"></script>
+<script src="../../js/resources/js-test-pre.js"></script>
+<style>
+input:active {
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
+}
+</style>
+<input id="show-home-button">
+<label for="show-home-button">Show Home Button</label>
+<script>
+clickElement(document.querySelector('label'));
+testPassed('if not crashed.');
+</script>
+<script src="../../js/resources/js-test-post.js"></script>
« no previous file with comments | « no previous file | LayoutTests/fast/forms/label/label-assertion-with-active-style-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698