| OLD | NEW |
| 1 { | 1 { |
| 2 "name": "Content Root Layer", | 2 "name": "Content Root Layer", |
| 3 "bounds": [800, 600], | 3 "bounds": [800, 600], |
| 4 "children": [ | 4 "children": [ |
| 5 { | 5 { |
| 6 "name": "LayoutView #document", | 6 "name": "LayoutView #document", |
| 7 "bounds": [800, 600], | 7 "bounds": [800, 600], |
| 8 "contentsOpaque": true, | 8 "contentsOpaque": true, |
| 9 "drawsContent": true, | 9 "drawsContent": true, |
| 10 "paintInvalidations": [ | 10 "paintInvalidations": [ |
| 11 { | 11 { |
| 12 "object": "LayoutBlockFlow DIV id='test'", | 12 "object": "LayoutBlockFlow DIV id='test'", |
| 13 "rect": [38, 75, 152, 107], | 13 "rect": [38, 74, 152, 110], |
| 14 "reason": "invalidate paint rectangle" | 14 "reason": "forced by layout" |
| 15 }, | |
| 16 { | |
| 17 "object": "LayoutBlockFlow DIV id='test'", | |
| 18 "rect": [38, 93, 152, 91], | |
| 19 "reason": "incremental" | |
| 20 }, | |
| 21 { | |
| 22 "object": "LayoutBlockFlow DIV id='test'", | |
| 23 "rect": [38, 94, 152, 90], | |
| 24 "reason": "incremental" | |
| 25 }, | 15 }, |
| 26 { | 16 { |
| 27 "object": "LayoutText #text", | 17 "object": "LayoutText #text", |
| 28 "rect": [39, 75, 123, 107], | 18 "rect": [39, 75, 123, 107], |
| 29 "reason": "layoutObject removal" | 19 "reason": "layoutObject removal" |
| 30 }, | 20 }, |
| 31 { | 21 { |
| 32 "object": "LayoutText #text", | 22 "object": "LayoutText #text", |
| 33 "rect": [112, 164, 42, 18], | 23 "rect": [112, 164, 42, 18], |
| 34 "reason": "bounds change" | 24 "reason": "forced by layout" |
| 35 }, | 25 }, |
| 36 { | 26 { |
| 37 "object": "LayoutText #text", | 27 "object": "LayoutText #text", |
| 38 "rect": [74, 75, 39, 17], | 28 "rect": [74, 75, 39, 17], |
| 39 "reason": "bounds change" | 29 "reason": "forced by layout" |
| 40 }, | 30 }, |
| 41 { | 31 { |
| 42 "object": "LayoutText #text", | 32 "object": "LayoutText #text", |
| 43 "rect": [39, 75, 36, 17], | 33 "rect": [39, 75, 36, 17], |
| 44 "reason": "selection" | 34 "reason": "forced by layout" |
| 45 } | 35 } |
| 46 ] | 36 ] |
| 47 } | 37 } |
| 48 ], | 38 ], |
| 49 "objectPaintInvalidations": [ | 39 "objectPaintInvalidations": [ |
| 50 { | 40 { |
| 51 "object": "InlineTextBox 'world hello'", | |
| 52 "reason": "full" | |
| 53 }, | |
| 54 { | |
| 55 "object": "InlineTextBox ' '", | |
| 56 "reason": "full" | |
| 57 }, | |
| 58 { | |
| 59 "object": "InlineTextBox 'world hello world'", | |
| 60 "reason": "full" | |
| 61 }, | |
| 62 { | |
| 63 "object": "InlineTextBox ' '", | |
| 64 "reason": "full" | |
| 65 }, | |
| 66 { | |
| 67 "object": "InlineTextBox 'hello world hello'", | |
| 68 "reason": "full" | |
| 69 }, | |
| 70 { | |
| 71 "object": "InlineTextBox ' '", | |
| 72 "reason": "full" | |
| 73 }, | |
| 74 { | |
| 75 "object": "InlineTextBox 'world hello world'", | |
| 76 "reason": "full" | |
| 77 }, | |
| 78 { | |
| 79 "object": "InlineTextBox ' '", | |
| 80 "reason": "full" | |
| 81 }, | |
| 82 { | |
| 83 "object": "InlineTextBox 'hello world hello'", | |
| 84 "reason": "full" | |
| 85 }, | |
| 86 { | |
| 87 "object": "InlineTextBox ' '", | |
| 88 "reason": "full" | |
| 89 }, | |
| 90 { | |
| 91 "object": "InlineTextBox 'world hello'", | |
| 92 "reason": "full" | |
| 93 }, | |
| 94 { | |
| 95 "object": "LayoutText #text", | 41 "object": "LayoutText #text", |
| 96 "reason": "layoutObject removal" | 42 "reason": "layoutObject removal" |
| 97 }, | 43 }, |
| 98 { | 44 { |
| 99 "object": "LayoutInline SPAN id='removeme'", | 45 "object": "LayoutInline SPAN id='removeme'", |
| 100 "reason": "layoutObject removal" | 46 "reason": "layoutObject removal" |
| 101 }, | 47 }, |
| 102 { | 48 { |
| 103 "object": "InlineTextBox 'hello '", | |
| 104 "reason": "full" | |
| 105 }, | |
| 106 { | |
| 107 "object": "RootInlineBox", | |
| 108 "reason": "full" | |
| 109 }, | |
| 110 { | |
| 111 "object": "RootInlineBox", | |
| 112 "reason": "full" | |
| 113 }, | |
| 114 { | |
| 115 "object": "RootInlineBox", | |
| 116 "reason": "full" | |
| 117 }, | |
| 118 { | |
| 119 "object": "RootInlineBox", | |
| 120 "reason": "full" | |
| 121 }, | |
| 122 { | |
| 123 "object": "RootInlineBox", | |
| 124 "reason": "full" | |
| 125 }, | |
| 126 { | |
| 127 "object": "InlineTextBox ' world'", | |
| 128 "reason": "full" | |
| 129 }, | |
| 130 { | |
| 131 "object": "InlineTextBox '\n'", | |
| 132 "reason": "full" | |
| 133 }, | |
| 134 { | |
| 135 "object": "RootInlineBox", | |
| 136 "reason": "full" | |
| 137 }, | |
| 138 { | |
| 139 "object": "LayoutBlockFlow HTML", | 49 "object": "LayoutBlockFlow HTML", |
| 140 "reason": "selection" | 50 "reason": "selection" |
| 141 }, | 51 }, |
| 142 { | 52 { |
| 143 "object": "LayoutBlockFlow BODY", | 53 "object": "LayoutBlockFlow BODY", |
| 144 "reason": "selection" | 54 "reason": "selection" |
| 145 }, | 55 }, |
| 146 { | 56 { |
| 147 "object": "LayoutBlockFlow DIV id='test'", | 57 "object": "LayoutBlockFlow DIV id='test'", |
| 148 "reason": "selection" | 58 "reason": "selection" |
| 149 }, | 59 }, |
| 150 { | 60 { |
| 151 "object": "LayoutBlockFlow DIV id='test'", | 61 "object": "LayoutBlockFlow DIV id='test'", |
| 152 "reason": "incremental" | 62 "reason": "forced by layout" |
| 153 }, | |
| 154 { | |
| 155 "object": "LayoutBlockFlow DIV id='test'", | |
| 156 "reason": "invalidate paint rectangle" | |
| 157 }, | 63 }, |
| 158 { | 64 { |
| 159 "object": "RootInlineBox", | 65 "object": "RootInlineBox", |
| 160 "reason": "incremental" | 66 "reason": "forced by layout" |
| 161 }, | 67 }, |
| 162 { | 68 { |
| 163 "object": "LayoutText #text", | 69 "object": "LayoutText #text", |
| 164 "reason": "selection" | 70 "reason": "selection" |
| 165 }, | 71 }, |
| 166 { | 72 { |
| 167 "object": "InlineTextBox 'hello '", | 73 "object": "InlineTextBox 'hello '", |
| 168 "reason": "selection" | 74 "reason": "selection" |
| 169 }, | 75 }, |
| 170 { | 76 { |
| 171 "object": "LayoutText #text", | 77 "object": "LayoutText #text", |
| 78 "reason": "forced by layout" |
| 79 }, |
| 80 { |
| 81 "object": "InlineTextBox 'hello '", |
| 82 "reason": "forced by layout" |
| 83 }, |
| 84 { |
| 85 "object": "LayoutText #text", |
| 172 "reason": "selection" | 86 "reason": "selection" |
| 173 }, | 87 }, |
| 174 { | 88 { |
| 175 "object": "InlineTextBox 'world'", | 89 "object": "InlineTextBox 'world'", |
| 176 "reason": "selection" | 90 "reason": "selection" |
| 177 }, | 91 }, |
| 178 { | 92 { |
| 179 "object": "LayoutText #text", | 93 "object": "LayoutText #text", |
| 180 "reason": "bounds change" | 94 "reason": "forced by layout" |
| 181 }, | 95 }, |
| 182 { | 96 { |
| 183 "object": "InlineTextBox 'world'", | 97 "object": "InlineTextBox 'world'", |
| 184 "reason": "bounds change" | 98 "reason": "forced by layout" |
| 185 }, | 99 }, |
| 186 { | 100 { |
| 187 "object": "LayoutBR BR", | 101 "object": "LayoutBR BR", |
| 188 "reason": "bounds change" | 102 "reason": "forced by layout" |
| 189 }, | 103 }, |
| 190 { | 104 { |
| 191 "object": "InlineTextBox '\n'", | 105 "object": "InlineTextBox '\n'", |
| 192 "reason": "bounds change" | 106 "reason": "forced by layout" |
| 193 } | 107 } |
| 194 ] | 108 ] |
| 195 } | 109 } |
| 196 | 110 |
| OLD | NEW |