layout/reftests/bugs/536061.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html>
michael@0 2
michael@0 3 <html lang="en">
michael@0 4 <head>
michael@0 5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
michael@0 6 <title>Bugs with -moz-transform: rotate() and box-shadow</title>
michael@0 7
michael@0 8 <style>
michael@0 9 body {
michael@0 10 overflow: hidden;
michael@0 11 }
michael@0 12
michael@0 13 .label {
michael@0 14 position: absolute;
michael@0 15 top: 200px;
michael@0 16 left: 100px;
michael@0 17 margin: 0;
michael@0 18 height: 16px;
michael@0 19 width: 300px;
michael@0 20 -moz-transform: translate(96px);
michael@0 21 box-shadow: 0 0 .7em black;
michael@0 22 border: 1px black solid;
michael@0 23 }
michael@0 24 .vlabel {
michael@0 25 position: absolute;
michael@0 26 top: 40px;
michael@0 27 left: 40px;
michael@0 28 margin: 0;
michael@0 29 width: 16px;
michael@0 30 height: 300px;
michael@0 31 box-shadow: 0 0 .7em black;
michael@0 32 border: 1px black solid;
michael@0 33 }
michael@0 34 </style>
michael@0 35 </head>
michael@0 36
michael@0 37 <body>
michael@0 38
michael@0 39 <p class="label"></p>
michael@0 40 <p class="label" style="top: 400px; box-shadow:none; outline: 3px dashed blue;"></p>
michael@0 41 <p class="label" style="left:-100px; top: 200px; box-shadow:none; outline: 3px dashed blue; -moz-transform: rotate(90deg);"></p>
michael@0 42 <p class="label" style="left:-40px; top: 200px; -moz-transform: rotate(90deg);"></p>
michael@0 43 <p class="label" style="left:-100px; top: 200px; box-shadow:none; outline: 3px dashed blue; -moz-transform: translate(0,396px) rotate(90deg);"></p>
michael@0 44 <p class="label" style="left:-40px; top: 200px; -moz-transform: translate(0,396px) rotate(90deg);"></p>
michael@0 45
michael@0 46 <!-- cover a few shadow corners which are a bit different -->
michael@0 47 <div style="position:absolute; top:40px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
michael@0 48 <div style="position:absolute; top:340px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
michael@0 49 <div style="position:absolute; top:420px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
michael@0 50 <div style="position:absolute; top:730px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
michael@0 51
michael@0 52 </body>
michael@0 53
michael@0 54 </html>

mercurial