summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/23604-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/23604-1.html')
-rw-r--r--layout/reftests/bugs/23604-1.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/bugs/23604-1.html b/layout/reftests/bugs/23604-1.html
new file mode 100644
index 000000000..14d3cfa70
--- /dev/null
+++ b/layout/reftests/bugs/23604-1.html
@@ -0,0 +1,18 @@
+<html class="reftest-wait">
+ <head>
+ <style type="text/css">
+ p:first-line { font-family: monospace }
+ p:first-letter { font-family: sans-serif }
+ </style>
+ <script>
+ function tweak() {
+ document.body.style.background = 'lightblue';
+ document.documentElement.className = "";
+ }
+ </script>
+ </head>
+ <body onload="tweak();">
+ <p style="width: 100px"><span>The first letter of this paragraph should be
+ in sans-serif while the first-line should be in monospace.</span></p>
+ </body>
+</html>