layout/reftests/outline/outline-and-3d-transform-1a.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.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <title>Testcase for outline around 3-D transform</title>
michael@0 3 <style>
michael@0 4
michael@0 5 html, body { margin: 0; padding: 0; border: none }
michael@0 6
michael@0 7 div {
michael@0 8 width: 100px;
michael@0 9 height: 100px;
michael@0 10 }
michael@0 11
michael@0 12 body > div {
michael@0 13 margin-top: 200px;
michael@0 14 margin-left: 200px;
michael@0 15 transform-style: flat;
michael@0 16 outline: 2px dashed blue;
michael@0 17 }
michael@0 18
michael@0 19 body > div > div {
michael@0 20 transform: rotateX(30deg);
michael@0 21 transform-origin: 50% 50%;
michael@0 22 transform-style: preserve-3d;
michael@0 23 }
michael@0 24
michael@0 25 body > div > div > div {
michael@0 26 transform: rotateX(30deg);
michael@0 27 transform-origin: 50% 50%;
michael@0 28 transform-style: preserve-3d;
michael@0 29 }
michael@0 30
michael@0 31 body > div > div > div > div {
michael@0 32 transform: scale(1.5, 3);
michael@0 33 transform-origin: 50% 50%;
michael@0 34 background: rgba(255, 255, 0, 0.4);
michael@0 35 }
michael@0 36
michael@0 37
michael@0 38 </style>
michael@0 39
michael@0 40 <div><div><div><div></div></div></div></div>

mercurial