layout/reftests/border-radius/clipping-5-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 <!DOCTYPE HTML>
     2 <title>Test for clipping of border-radius</title>
     3 <style>
     4 div {
     5   display: inline-block;
     6   background: lime;
     7   margin: 18px 19px 21px 25px;
     8   /* border + padding: 1px 2px 4px 8px */
     9   height: 100px;
    10   width: 200px;
    12   /* Horizontal: TL TR BR BL / Vertical: TL TR BR BL */
    13   /* border-radius: 25px 17px 14px 18px / 12px 15px 18px 17px; */
    14   border-radius: 17px 15px 12px 10px / 11px 14px 14px 13px;
    15 }
    16 </style>
    17 <div></div>

mercurial