Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move flat tree checks up to the top of isInert Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Non-hidden div for comparison 1 Non-hidden div for comparison
2 non-hidden treeitem 2 non-hidden treeitem
3 hidden non-treeitem 3 hidden non-treeitem
4 Buttons are leaf nodes 4 Buttons are leaf nodes
5 Descendant of aria-hidden node 5 Descendant of aria-hidden node
6 List item also presentational 6 List item also presentational
7 Div in list isn't presentational 7 Div in list isn't presentational
8 Content within label refers to label container 8 Content within label refers to label container inert button
9 button in inert subtree
9 10
10 WebArea 11 WebArea
11 tree 12 tree
12 *Ignored 13 *Ignored
13 { 14 {
14 "nodeId": "<string>", 15 "nodeId": "<string>",
15 "ignored": true, 16 "ignored": true,
16 "ignoredReasons": [ 17 "ignoredReasons": [
17 { 18 {
18 "name": "ancestorDisallowsChild", 19 "name": "ancestorDisallowsChild",
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 172 }
172 ], 173 ],
173 "role": { 174 "role": {
174 "type": "internalRole", 175 "type": "internalRole",
175 "value": "Ignored" 176 "value": "Ignored"
176 }, 177 },
177 "domNode": "li" 178 "domNode": "li"
178 } 179 }
179 180
180 WebArea 181 WebArea
182 Div
183 tree
184 img
185 button "Buttons are leaf nodes"
186 text "List item also presentational"
181 *Div 187 *Div
182 text "Div in list isn't presentational" 188 text "Div in list isn't presentational"
189 checkbox "Content within label refers to label container"
190 Div
191 Div
183 { 192 {
184 "nodeId": "<string>", 193 "nodeId": "<string>",
185 "ignored": false, 194 "ignored": false,
186 "role": { 195 "role": {
187 "type": "internalRole", 196 "type": "internalRole",
188 "value": "Div" 197 "value": "Div"
189 }, 198 },
190 "name": { 199 "name": {
191 "type": "computedString", 200 "type": "computedString",
192 "value": "", 201 "value": "",
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "name": "expanded", 416 "name": "expanded",
408 "value": { 417 "value": {
409 "type": "booleanOrUndefined", 418 "type": "booleanOrUndefined",
410 "value": false 419 "value": false
411 } 420 }
412 } 421 }
413 ], 422 ],
414 "domNode": "select" 423 "domNode": "select"
415 } 424 }
416 425
426 WebArea
427 *Ignored
428 {
429 "nodeId": "<string>",
430 "ignored": true,
431 "ignoredReasons": [
432 {
433 "name": "inertElement",
434 "value": {
435 "type": "boolean",
436 "value": true
437 }
438 }
439 ],
440 "role": {
441 "type": "internalRole",
442 "value": "Ignored"
443 },
444 "domNode": "button"
445 }
446
447 WebArea
448 *Ignored
449 {
450 "nodeId": "<string>",
451 "ignored": true,
452 "ignoredReasons": [
453 {
454 "name": "inertSubtree",
455 "value": {
456 "type": "idref",
457 "relatedNodes": [
458 {
459 "idref": "inert-root",
460 "nodeResult": "div#inert-root"
461 }
462 ]
463 }
464 }
465 ],
466 "role": {
467 "type": "internalRole",
468 "value": "Ignored"
469 },
470 "domNode": "button"
471 }
472
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698