blob: 4938588f44effebaecae22e8c8b54470c0e2070a (
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
|
<!DOCTYPE html>
<script src="resources/text-based-repaint.js"></script>
<script>
function repaintTest()
{
document.querySelector('#outer').style['outline-color'] ='green';
}
onload = runRepaintTest;
</script>
<style>
body { height: 200px; }
#container { position: absolute; }
p, #inner { height: 20px; }
#outer { outline: 2px solid red; }
</style>
<p>
This test is verifying that when the outline is modified on an element
that we correctly invalidate any continuations.
</p>
<p>
If this test passes, you should see a green border around the text contents.
</p>
<div id="container">
<span id="outer">
<div id="inner">CONTENTS</div>
</span>
</div>
|