summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/button/button-novalidate.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ui-invalid/button/button-novalidate.html')
-rw-r--r--layout/reftests/css-ui-invalid/button/button-novalidate.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/css-ui-invalid/button/button-novalidate.html b/layout/reftests/css-ui-invalid/button/button-novalidate.html
new file mode 100644
index 000000000..5288415a8
--- /dev/null
+++ b/layout/reftests/css-ui-invalid/button/button-novalidate.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html class='reftest-wait'>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body onload="document.getElementById('b').setCustomValidity('foo');
+ document.documentElement.className = '';">
+ <form novalidate>
+ <button id='b' class='notinvalid'></button>
+ </form>
+ </body>
+</html>