summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/border-not-apply.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-line/border-not-apply.html')
-rw-r--r--layout/reftests/first-line/border-not-apply.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/first-line/border-not-apply.html b/layout/reftests/first-line/border-not-apply.html
new file mode 100644
index 0000000000..8665963f36
--- /dev/null
+++ b/layout/reftests/first-line/border-not-apply.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<title>border should not apply to :first-line (bug 469227)</title>
+<style type="text/css">
+
+p::first-line {
+ /* specify all the properties in nsStyleBorder */
+ border-inline-start: medium solid red ! important;
+ border-inline-end: medium solid red ! important;
+ border: medium solid red ! important;
+ border-image: none ! important;
+ -moz-float-edge: content-box ! important;
+ border-radius: 0 ! important;
+ box-shadow: none ! important;
+}
+
+</style>
+<p>Hello</p>