summaryrefslogtreecommitdiffstats
path: root/layout/reftests/color-scheme/color-scheme-themed-button.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/color-scheme/color-scheme-themed-button.html')
-rw-r--r--layout/reftests/color-scheme/color-scheme-themed-button.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/color-scheme/color-scheme-themed-button.html b/layout/reftests/color-scheme/color-scheme-themed-button.html
new file mode 100644
index 0000000000..8d920e666f
--- /dev/null
+++ b/layout/reftests/color-scheme/color-scheme-themed-button.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<style>
+ button {
+ color-scheme: dark;
+ /* We want to test the theme background rendering, not the text color which
+ is set via CSS. */
+ color: transparent;
+ }
+</style>
+<button>ABC</button>