summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-submit-invalid/default-style
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/css-submit-invalid/default-style
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-submit-invalid/default-style')
-rw-r--r--layout/reftests/css-submit-invalid/default-style/button-submit-ref.html9
-rw-r--r--layout/reftests/css-submit-invalid/default-style/button-submit.html21
-rw-r--r--layout/reftests/css-submit-invalid/default-style/input-image-ref.html9
-rw-r--r--layout/reftests/css-submit-invalid/default-style/input-image.html21
-rw-r--r--layout/reftests/css-submit-invalid/default-style/input-submit-ref.html9
-rw-r--r--layout/reftests/css-submit-invalid/default-style/input-submit.html21
-rw-r--r--layout/reftests/css-submit-invalid/default-style/reftest-stylo.list4
-rw-r--r--layout/reftests/css-submit-invalid/default-style/reftest.list3
-rw-r--r--layout/reftests/css-submit-invalid/default-style/style.css2
9 files changed, 99 insertions, 0 deletions
diff --git a/layout/reftests/css-submit-invalid/default-style/button-submit-ref.html b/layout/reftests/css-submit-invalid/default-style/button-submit-ref.html
new file mode 100644
index 000000000..80648da6f
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/button-submit-ref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <form>
+ <button type='submit' class='submit-invalid-ref'>Submit!</button>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/button-submit.html b/layout/reftests/css-submit-invalid/default-style/button-submit.html
new file mode 100644
index 000000000..fdd5bce51
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/button-submit.html
@@ -0,0 +1,21 @@
+<!DOCTYPE>
+<html class="reftest-wait">
+ <style>
+ input:invalid {
+ display: none;
+ }
+ </style>
+ <script>
+ function onloadHandler()
+ {
+ document.getElementById('e').setCustomValidity('foo');
+ document.documentElement.className='';
+ }
+ </script>
+ <body onload="onloadHandler();">
+ <form>
+ <input id='e'>
+ <button type='submit'>Submit!</button>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/input-image-ref.html b/layout/reftests/css-submit-invalid/default-style/input-image-ref.html
new file mode 100644
index 000000000..f7cadc13a
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/input-image-ref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <form>
+ <input type='image' class='submit-invalid-ref'>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/input-image.html b/layout/reftests/css-submit-invalid/default-style/input-image.html
new file mode 100644
index 000000000..1ab153bd2
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/input-image.html
@@ -0,0 +1,21 @@
+<!DOCTYPE>
+<html class="reftest-wait">
+ <style>
+ input:invalid {
+ display: none;
+ }
+ </style>
+ <script>
+ function onloadHandler()
+ {
+ document.getElementById('e').setCustomValidity('foo');
+ document.documentElement.className='';
+ }
+ </script>
+ <body onload="onloadHandler();">
+ <form>
+ <input id='e'>
+ <input type='image'>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/input-submit-ref.html b/layout/reftests/css-submit-invalid/default-style/input-submit-ref.html
new file mode 100644
index 000000000..77c3fbf70
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/input-submit-ref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <form>
+ <input type='submit' class='submit-invalid-ref'>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/input-submit.html b/layout/reftests/css-submit-invalid/default-style/input-submit.html
new file mode 100644
index 000000000..ccc37dff4
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/input-submit.html
@@ -0,0 +1,21 @@
+<!DOCTYPE>
+<html class="reftest-wait">
+ <style>
+ input:invalid {
+ display: none;
+ }
+ </style>
+ <script>
+ function onloadHandler()
+ {
+ document.getElementById('e').setCustomValidity('foo');
+ document.documentElement.className='';
+ }
+ </script>
+ <body onload="onloadHandler();">
+ <form>
+ <input id='e'>
+ <input type='submit'>
+ </form>
+ </body>
+</html>
diff --git a/layout/reftests/css-submit-invalid/default-style/reftest-stylo.list b/layout/reftests/css-submit-invalid/default-style/reftest-stylo.list
new file mode 100644
index 000000000..49b10e400
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/reftest-stylo.list
@@ -0,0 +1,4 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== input-submit.html input-submit.html
+== input-image.html input-image.html
+== button-submit.html button-submit.html
diff --git a/layout/reftests/css-submit-invalid/default-style/reftest.list b/layout/reftests/css-submit-invalid/default-style/reftest.list
new file mode 100644
index 000000000..93065dd32
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/reftest.list
@@ -0,0 +1,3 @@
+== input-submit.html input-submit-ref.html
+== input-image.html input-image-ref.html
+== button-submit.html button-submit-ref.html
diff --git a/layout/reftests/css-submit-invalid/default-style/style.css b/layout/reftests/css-submit-invalid/default-style/style.css
new file mode 100644
index 000000000..93fd2e597
--- /dev/null
+++ b/layout/reftests/css-submit-invalid/default-style/style.css
@@ -0,0 +1,2 @@
+.submit-invalid-ref {
+}