layout/reftests/outline/outline-and-3d-transform-2-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>Testcase for outline around 3-D transform</title>
     3 <style>
     5 html, body { margin: 0; padding: 0; border: none }
     7 div {
     8   width: 100px;
     9   height: 100px;
    10 }
    12 body > div {
    13   margin-top: 200px;
    14   margin-left: 200px;
    15   transform-style: flat;
    16 }
    18 body > div > div {
    19   transform: rotateX(30deg);
    20   transform-origin: 50% 50%;
    21   transform-style: preserve-3d;
    22   border: 5px solid green;
    23   margin: -5px;
    24 }
    26 body > div > div > div {
    27   transform: rotateX(30deg);
    28   width: 50px; margin-left: 20px; margin-top: -5px;
    29   transform-origin: 50% 50%;
    30   transform-style: preserve-3d;
    31   border: 5px solid blue;
    32 }
    34 </style>
    36 <div><div><div></div></div></div>

mercurial