Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / inline-outline-repaint-2.html
blob6a2657c868b23690c603816fc9e135d311060a28
1 <!-- Based on fast/repaint/inline-outline-repaint-2.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <style>
5 body {
6 margin: 0;
7 padding: 0;
9 #container {
10 position: absolute;
11 width: 255px;
12 text-align: right;
14 #container > span {
15 outline: 5px solid blue;
17 </style>
18 <div id=container>
19 <span>Test</span>
20 </div>
21 <script>
22 window.expectedPaintInvalidationObjects = [
23 "LayoutInline SPAN",
24 "InlineFlowBox",
25 "LayoutText #text",
26 "InlineTextBox 'Test'",
28 function paintInvalidationTest() {
29 document.getElementById('container').style.color = 'green';
31 onload = runPaintInvalidationTest;
32 </script>