simon.fraser@apple.com | ffe3e04 | 2016-06-22 20:44:26 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
2 | |||||
3 | <html> | ||||
4 | <head> | ||||
5 | <style> | ||||
6 | .box { | ||||
7 | position: absolute; | ||||
8 | top: 50px; | ||||
9 | left: 50px; | ||||
10 | height: 100px; | ||||
11 | width: 100px; | ||||
12 | margin: 100px; | ||||
13 | background-image: linear-gradient(green, green); | ||||
14 | border: 1px solid black; | ||||
15 | } | ||||
16 | |||||
17 | .clipper { | ||||
18 | position: absolute; | ||||
19 | top: 78px; | ||||
20 | left: 78px; | ||||
21 | height: 205px; | ||||
22 | width: 205px; | ||||
23 | border: 20px solid gray; | ||||
24 | } | ||||
25 | </style> | ||||
26 | </head> | ||||
27 | <body> | ||||
28 | |||||
29 | <p>Green background should not appear stripey</p> | ||||
30 | <div class="box" style="transform: scale(2.19)"></div> | ||||
31 | |||||
32 | <div class="clipper"></div> | ||||
33 | |||||
34 | </body> | ||||
35 | </html> |