blob: c25103d154e152d4e69b68b096475ac0d00f419d [file] [log] [blame]
<!DOCTYPE HTML>
<style>
div {
border-width: 21px 30px 30px 21px;
width: 75px;
height: 75px;
display: inline-block;
border-image-source: url("../../fast/borders/resources/border-image.png");
border-image-slice: 21 30 30 21 fill;
border-image-width: 1;
border-image-outset: 1;
}
</style>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
// Changing border-image-outset will cause a repaint but no layout.
document.getElementById("test").style['border-image-outset'] = '5';
}
window.onload = runRepaintAndPixelTest;
</script>
<div id="test"></div>
<p>
Tests the repainting of border-image-outset when changed.
</p>