layout/reftests/outline/outline-and-3d-transform-1a.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

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