1 <!-- Based on fast/repaint/border-outline-0.html -->
19 border-image: url(../../../fast/repaint/_example.png)
100%
100 100 round;
28 <script src=
"resources/paint-invalidation-test.js"></script>
30 window
.expectedPaintInvalidationObjects
= [
31 "LayoutBlockFlow (positioned) DIV id='border-image'",
33 function paintInvalidationTest() {
34 var border
= document
.getElementById("border");
35 border
.style
.border
= "0";
37 var outline
= document
.getElementById("outline");
38 outline
.style
.outline
= "0";
40 var outline
= document
.getElementById("cell");
41 outline
.style
.borderWidth
= "0";
43 var borderImage
= document
.getElementById("border-image");
44 borderImage
.style
.borderWidth
= "0";
46 onload
= runPaintInvalidationTest
;
49 <p>Tests that setting an outline or a border of
0 on an element without a border or outline doesn't repaint.
</p>
51 <div id=
"border"></div>
52 <div id=
"outline"></div>
53 <div id=
"border-image"></div>