summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/229764-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-letter/229764-2.html')
-rw-r--r--layout/reftests/first-letter/229764-2.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/229764-2.html b/layout/reftests/first-letter/229764-2.html
new file mode 100644
index 0000000000..b806bd8e21
--- /dev/null
+++ b/layout/reftests/first-letter/229764-2.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style type="text/css">
+ p:first-letter {
+ float: left;
+ color: red;
+ }
+ </style>
+ <title>a first-letter testcase</title>
+ <script type="text/javascript">
+ window.onload = function() {
+ document.getElementsByTagName("style")[0].disabled = true;
+ }
+ </script>
+ </head>
+ <body>
+ <p>Lorem ipsum dolor sit amet.</p>
+ </body>
+</html>