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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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