summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/overflow-float-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-letter/overflow-float-overflow.html')
-rw-r--r--layout/reftests/first-letter/overflow-float-overflow.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/overflow-float-overflow.html b/layout/reftests/first-letter/overflow-float-overflow.html
new file mode 100644
index 0000000000..0d0d1ee933
--- /dev/null
+++ b/layout/reftests/first-letter/overflow-float-overflow.html
@@ -0,0 +1,15 @@
+<title>::first-letter and overflow</title>
+<style>
+
+div {
+ height: 3em; width: 8em;
+ padding: 3px;
+ background: yellow; color: black;
+ overflow: auto;
+ line-height: 1.0;
+}
+div::first-letter { font-size: 4em; float: left; }
+
+</style>
+
+<div>Hello</div>