layout/reftests/bugs/953334-win32-clipping-ref.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 <style type="text/css">
     2 #descdiv{
     3 overflow: hidden;
     4 height: 60px;
     5 border: 1px solid red;
     6 }
     7 #descdiv p{
     8 height:30px;
     9 margin:0;
    10 /* The shadow of the text will be inside the overflow-hidden but the text it self will not.
    11    This causes the text to be drawn even when it's outside of the clip*/
    12 text-shadow: #fff 1px -1px 2px;
    13 }
    15 </style>
    17 <div id="descdiv">
    18 <p class="um_desc">&nbsp;</p>
    19 <p class="um_desc">&nbsp;</p>
    20 <p class="um_desc">&nbsp;</p>
    21 </div>

mercurial