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.

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

mercurial