1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <style type=
"text/css">
6 div
.test
{ width: 50px; height: 100px; padding: 10px; }
8 <script src=
"resources/text-based-repaint.js" type=
"text/javascript"></script>
9 <script type=
"text/javascript">
10 function repaintTest()
12 document
.getElementById('a').style
.height
= '50px';
13 document
.getElementById('b').style
.height
= '50px';
17 <body onload=
"runRepaintTest();">
19 Tests the repainting of box shadows when boxes are resized.
22 <div style=
"background: #ff7; -webkit-box-shadow: black 5px 5px 0;">
23 <div id=
"a" style=
"height: 70px; margin: 10px;"></div>
27 <div style=
"background: #ff7; -webkit-box-shadow: black 5px 5px 0;">
28 <div id=
"b" style=
"height: 30px; margin: 10px;"></div>