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.html21
1 files changed, 21 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 000000000..2d432084c
--- /dev/null
+++ b/layout/reftests/first-line/border-not-apply.html
@@ -0,0 +1,21 @@
+<!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;
+ -moz-border-top-colors: none ! important;
+ -moz-border-right-colors: none ! important;
+ -moz-border-bottom-colors: none ! important;
+ -moz-border-left-colors: none ! important;
+ box-shadow: none ! important;
+}
+
+</style>
+<p>Hello</p>