summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/1404167-3.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/first-letter/1404167-3.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/1404167-3.html b/layout/reftests/first-letter/1404167-3.html
new file mode 100644
index 0000000000..e815874500
--- /dev/null
+++ b/layout/reftests/first-letter/1404167-3.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<style>
+fieldset::first-letter {
+ border: inherit;
+}
+</style>
+<fieldset style="border: 10px solid red;">
+ This text should have a green border on the first letter.
+</fieldset>
+<script>
+document.body.offsetTop;
+document.querySelector('fieldset').style.borderColor = "green";
+document.body.offsetTop;
+</script>