summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/repaint/outline-change-invalidation.html
blob: 2b636909f028a4bd3aa49a559db094b7e25de7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<style>
a {
    display: block;
    outline: thin dotted green;
    outline-width: 0px;
}
</style>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
    document.getElementById("link").style.outlineWidth = "5px";
}
window.addEventListener("load", runRepaintTest, false);
</script>
</head>
<body>
    <p>This test checks that an outline change is correctly repainted.</p>
    <p>There should be a 5px green outline below.</p>
    <ul>
        <li><a id="link">Lorem Ipsum</a></li>
    </ul>
</body>
</html>