Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / box-shadow / shadow-box-resize.html
blob6d781c480c42be4aa046ddfd51de2c5cdbbdf7a7
1 <!DOCTYPE html>
2 <script src="../repaint/resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest()
6 document.getElementById('target1').style.width = '150px';
7 document.getElementById('target2').style.width = '50px';
8 document.getElementById('target3').style.height = '150px';
9 document.getElementById('target4').style.height = '50px';
11 window.onload = runRepaintTest;
12 </script>
13 <style>
14 body {
15 margin: 0;
17 div {
18 position: absolute;
19 width: 100px;
20 height: 100px;
21 background-color: green;
22 box-shadow: 40px 20px black;
24 #target1 {
25 top: 100px;
26 left: 100px;
28 #target2 {
29 top: 100px;
30 left: 300px;
32 #target3 {
33 top: 300px;
34 left: 100px;
36 #target4 {
37 top: 300px;
38 left: 300px;
40 </style>
41 <div id="target1"></div>
42 <div id="target2"></div>
43 <div id="target3"></div>
44 <div id="target4"></div>