summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/high-contrast/reftest.list1
-rw-r--r--layout/reftests/high-contrast/transparent-textarea-ref.html4
-rw-r--r--layout/reftests/high-contrast/transparent-textarea.html17
3 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/high-contrast/reftest.list b/layout/reftests/high-contrast/reftest.list
index 0057a92b2e..d6e2dbbfe7 100644
--- a/layout/reftests/high-contrast/reftest.list
+++ b/layout/reftests/high-contrast/reftest.list
@@ -103,3 +103,4 @@ pref(ui.use_standins_for_native_colors,false) pref(browser.display.use_system_co
# Forced color adjust
pref(layout.css.forced-color-adjust.enabled,true) == backplate-force-color-adjust.html backplate-force-color-adjust-ref.html
+== transparent-textarea.html transparent-textarea-ref.html
diff --git a/layout/reftests/high-contrast/transparent-textarea-ref.html b/layout/reftests/high-contrast/transparent-textarea-ref.html
new file mode 100644
index 0000000000..1c9fb2288e
--- /dev/null
+++ b/layout/reftests/high-contrast/transparent-textarea-ref.html
@@ -0,0 +1,4 @@
+<!doctype html>
+<pre>
+ PASS
+</pre>
diff --git a/layout/reftests/high-contrast/transparent-textarea.html b/layout/reftests/high-contrast/transparent-textarea.html
new file mode 100644
index 0000000000..a82aef57d5
--- /dev/null
+++ b/layout/reftests/high-contrast/transparent-textarea.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<style>
+textarea {
+ color: transparent;
+ background: unset;
+ border: none;
+ resize: none;
+ padding: 0;
+ position: absolute;
+}
+</style>
+<textarea>
+ FAIL
+</textarea>
+<pre>
+ PASS
+</pre>