1 <!-- Based on fast/repaint/table-outer-border.html -->
2 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
5 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=
12817</title>
6 <style type=
"text/css" media=
"all">
8 border-collapse: collapse;
12 border:
15px solid red;
13 background-color: green;
22 <script src=
"resources/paint-invalidation-test.js"></script>
24 window
.expectedPaintInvalidationObjects
= [
29 "LayoutTableSection TBODY",
30 "LayoutTable TABLE id='table'",
33 "LayoutTable TABLE id='table' class='green'",
36 "LayoutTableSection TBODY",
42 function paintInvalidationTest()
44 var container
= document
.getElementById('container');
45 var table
= document
.getElementById('table');
46 var newTable
= table
.cloneNode(true);
47 newTable
.className
= "green";
48 container
.replaceChild(newTable
, table
);
52 <body onload=
"runPaintInvalidationTest();">
53 <div id=
"container" style=
"width: 500px;">