OLD | NEW |
1 This tests to see if selection gaps are invalidated properly when content inside
the selection is removed. Only 'hello world' should have a selecton tint behind
it. | 1 { |
| 2 "bounds": [800, 600], |
| 3 "children": [ |
| 4 { |
| 5 "bounds": [800, 600], |
| 6 "contentsOpaque": true, |
| 7 "drawsContent": true, |
| 8 "repaintRects": [ |
| 9 [112, 165, 42, 18], |
| 10 [74, 75, 39, 18], |
| 11 [39, 75, 119, 108], |
| 12 [39, 75, 36, 18], |
| 13 [38, 94, 152, 90], |
| 14 [38, 93, 152, 91], |
| 15 [38, 75, 152, 108], |
| 16 [8, 75, 784, 108], |
| 17 [8, 75, 784, 108] |
| 18 ], |
| 19 "paintInvalidationClients": [ |
| 20 "LayoutBlockFlow HTML", |
| 21 "InlineTextBox 'world hello'", |
| 22 "InlineTextBox ' '", |
| 23 "InlineTextBox 'world hello world'", |
| 24 "InlineTextBox ' '", |
| 25 "InlineTextBox 'hello world hello'", |
| 26 "InlineTextBox ' '", |
| 27 "InlineTextBox 'world hello world'", |
| 28 "InlineTextBox ' '", |
| 29 "InlineTextBox 'hello world hello'", |
| 30 "InlineTextBox ' '", |
| 31 "InlineTextBox 'world hello'", |
| 32 "LayoutText #text", |
| 33 "LayoutInline SPAN id='removeme'", |
| 34 "InlineTextBox 'hello '", |
| 35 "RootInlineBox", |
| 36 "RootInlineBox", |
| 37 "RootInlineBox", |
| 38 "RootInlineBox", |
| 39 "RootInlineBox", |
| 40 "InlineTextBox ' world'", |
| 41 "InlineTextBox '\n'", |
| 42 "RootInlineBox", |
| 43 "LayoutBlockFlow HTML", |
| 44 "LayoutBlockFlow BODY", |
| 45 "LayoutBlockFlow DIV id='test'", |
| 46 "LayoutBlockFlow DIV id='test'", |
| 47 "LayoutBlockFlow DIV id='test'", |
| 48 "LayoutText #text", |
| 49 "InlineTextBox 'hello '", |
| 50 "LayoutText #text", |
| 51 "InlineTextBox 'world'", |
| 52 "LayoutText #text", |
| 53 "InlineTextBox 'world'", |
| 54 "LayoutBR BR", |
| 55 "InlineTextBox '\n'" |
| 56 ] |
| 57 } |
| 58 ] |
| 59 } |
2 | 60 |
3 hello world | |
4 (repaint rects | |
5 (rect 70 147 41 18) | |
6 (rect 39 75 35 18) | |
7 (rect 39 75 150 90) | |
8 (rect 38 74 152 92) | |
9 (rect 38 94 152 72) | |
10 (rect 38 93 152 1) | |
11 (rect 38 75 152 90) | |
12 (rect 74 75 37 18) | |
13 (rect 39 75 35 18) | |
14 ) | |
15 | |
OLD | NEW |