1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=
12817</title>
5 <style type=
"text/css" media=
"all">
7 border-collapse: collapse;
11 border:
15px solid red;
12 background-color: green;
21 <script src=
"resources/text-based-repaint.js"></script>
23 function repaintTest()
25 var container
= document
.getElementById('container');
26 var table
= document
.getElementById('table');
27 var newTable
= table
.cloneNode(true);
28 newTable
.className
= "green";
29 container
.replaceChild(newTable
, table
);
33 <body onload=
"runRepaintTest();">
34 <div id=
"container" style=
"width: 500px;">