summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-enabled/output
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-enabled/output')
-rw-r--r--layout/reftests/css-enabled/output/output-ref.html7
-rw-r--r--layout/reftests/css-enabled/output/output.html7
-rw-r--r--layout/reftests/css-enabled/output/reftest.list1
-rw-r--r--layout/reftests/css-enabled/output/style.css12
4 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/css-enabled/output/output-ref.html b/layout/reftests/css-enabled/output/output-ref.html
new file mode 100644
index 0000000000..cc4687f54e
--- /dev/null
+++ b/layout/reftests/css-enabled/output/output-ref.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <output class="ref">foo</output>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/output/output.html b/layout/reftests/css-enabled/output/output.html
new file mode 100644
index 0000000000..c264159d4c
--- /dev/null
+++ b/layout/reftests/css-enabled/output/output.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <body>
+ <output>foo</output>
+ </body>
+</html>
diff --git a/layout/reftests/css-enabled/output/reftest.list b/layout/reftests/css-enabled/output/reftest.list
new file mode 100644
index 0000000000..0f02f9cf9f
--- /dev/null
+++ b/layout/reftests/css-enabled/output/reftest.list
@@ -0,0 +1 @@
+== output.html output-ref.html
diff --git a/layout/reftests/css-enabled/output/style.css b/layout/reftests/css-enabled/output/style.css
new file mode 100644
index 0000000000..ae740e20d4
--- /dev/null
+++ b/layout/reftests/css-enabled/output/style.css
@@ -0,0 +1,12 @@
+output {
+ background-color: green;
+}
+
+output:enabled {
+ background-color: red;
+}
+
+/* ref should always be green! */
+.ref:enabled {
+ background-color: green;
+}