layout/reftests/first-line/border-not-apply.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <title>border should not apply to :first-line (bug 469227)</title>
michael@0 3 <style type="text/css">
michael@0 4
michael@0 5 p::first-line {
michael@0 6 /* specify all the properties in nsStyleBorder */
michael@0 7 -moz-border-start: medium solid red ! important;
michael@0 8 -moz-border-end: medium solid red ! important;
michael@0 9 border: medium solid red ! important;
michael@0 10 border-image: none ! important;
michael@0 11 -moz-float-edge: content-box ! important;
michael@0 12 border-radius: 0 ! important;
michael@0 13 -moz-border-top-colors: none ! important;
michael@0 14 -moz-border-right-colors: none ! important;
michael@0 15 -moz-border-bottom-colors: none ! important;
michael@0 16 -moz-border-left-colors: none ! important;
michael@0 17 box-shadow: none ! important;
michael@0 18 }
michael@0 19
michael@0 20 </style>
michael@0 21 <p>Hello</p>

mercurial