mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
55 lines
1.8 KiB
HTML
55 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title>Bugs with -moz-transform: rotate() and box-shadow</title>
|
|
|
|
<style>
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.label {
|
|
position: absolute;
|
|
top: 200px;
|
|
left: 100px;
|
|
margin: 0;
|
|
height: 16px;
|
|
width: 300px;
|
|
-moz-transform: translate(96px);
|
|
box-shadow: 0 0 .7em black;
|
|
border: 1px black solid;
|
|
}
|
|
.vlabel {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 40px;
|
|
margin: 0;
|
|
width: 16px;
|
|
height: 300px;
|
|
box-shadow: 0 0 .7em black;
|
|
border: 1px black solid;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<p class="label"></p>
|
|
<p class="label" style="top: 400px; box-shadow:none; outline: 3px dashed blue;"></p>
|
|
<p class="label" style="left:-100px; top: 200px; box-shadow:none; outline: 3px dashed blue; -moz-transform: rotate(90deg);"></p>
|
|
<p class="label" style="left:-40px; top: 200px; -moz-transform: rotate(90deg);"></p>
|
|
<p class="label" style="left:-100px; top: 200px; box-shadow:none; outline: 3px dashed blue; -moz-transform: translate(0,396px) rotate(90deg);"></p>
|
|
<p class="label" style="left:-40px; top: 200px; -moz-transform: translate(0,396px) rotate(90deg);"></p>
|
|
|
|
<!-- cover a few shadow corners which are a bit different -->
|
|
<div style="position:absolute; top:40px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
|
|
<div style="position:absolute; top:340px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
|
|
<div style="position:absolute; top:420px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
|
|
<div style="position:absolute; top:730px; left:85px; width:50px; height:50px; background:black; z-index:99;"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|