summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/536061-ref.html
blob: e4cdbd017d1473d05b66f59206556866cca58ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!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: 196px;
        margin: 0;
        height:16px;
        width: 300px;
        box-shadow: 0 0 .7em black;
        border: 1px black solid;
    }
    .vlabel {
        position: absolute;
        top: 58px;
        left: 42px;
        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="vlabel" style="box-shadow:none; outline: 3px dashed blue;"></p>
<p class="vlabel" style="left:102px; "></p>
<p class="vlabel" style="top:454px; box-shadow:none; outline: 3px dashed blue; "></p>
<p class="vlabel" style="top:454px; left:102px;"></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>