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

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: Logspammy WIP Created 3 years, 7 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 351 }
351 ], 352 ],
352 "role": { 353 "role": {
353 "type": "internalRole", 354 "type": "internalRole",
354 "value": "Ignored" 355 "value": "Ignored"
355 }, 356 },
356 "domNode": "canvas" 357 "domNode": "canvas"
357 } 358 }
358 359
359 WebArea 360 WebArea
361 Div
362 tree
363 img
364 button "Buttons are leaf nodes"
365 text "List item also presentational"
366 Div
367 checkbox "Content within label refers to label container"
368 Div
360 *combobox 369 *combobox
361 MenuListPopup 370 MenuListPopup
362 menuitem "Options should be" 371 Div
363 menuitem "sent down even though"
364 menuitem "they are grandchildren"
365 { 372 {
366 "nodeId": "<string>", 373 "nodeId": "<string>",
367 "ignored": false, 374 "ignored": false,
368 "role": { 375 "role": {
369 "type": "role", 376 "type": "role",
370 "value": "combobox" 377 "value": "combobox"
371 }, 378 },
372 "name": { 379 "name": {
373 "type": "computedString", 380 "type": "computedString",
374 "value": "", 381 "value": "",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 "name": "expanded", 414 "name": "expanded",
408 "value": { 415 "value": {
409 "type": "booleanOrUndefined", 416 "type": "booleanOrUndefined",
410 "value": false 417 "value": false
411 } 418 }
412 } 419 }
413 ], 420 ],
414 "domNode": "select" 421 "domNode": "select"
415 } 422 }
416 423
424 *menuitem "Options should be"
425 {
426 "nodeId": "<string>",
427 "ignored": false,
428 "role": {
429 "type": "role",
430 "value": "menuitem"
431 },
432 "name": {
433 "type": "computedString",
434 "value": "Options should be",
435 "sources": [
436 {
437 "type": "relatedElement",
438 "attribute": "aria-labelledby"
439 },
440 {
441 "type": "attribute",
442 "attribute": "aria-label"
443 },
444 {
445 "type": "contents",
446 "value": {
447 "type": "computedString",
448 "value": "Options should be"
449 }
450 }
451 ]
452 },
453 "properties": [],
454 "domNode": "option"
455 }
456
457
458 WebArea
459 *Ignored
460 {
461 "nodeId": "<string>",
462 "ignored": true,
463 "ignoredReasons": [
464 {
465 "name": "inertElement",
466 "value": {
467 "type": "boolean",
468 "value": true
469 }
470 }
471 ],
472 "role": {
473 "type": "internalRole",
474 "value": "Ignored"
475 },
476 "domNode": "button"
477 }
478
479 WebArea
480 *Ignored
481 {
482 "nodeId": "<string>",
483 "ignored": true,
484 "ignoredReasons": [
485 {
486 "name": "inertSubtree",
487 "value": {
488 "type": "idref",
489 "relatedNodes": [
490 {
491 "idref": "inert-root",
492 "nodeResult": "div#inert-root"
493 }
494 ]
495 }
496 }
497 ],
498 "role": {
499 "type": "internalRole",
500 "value": "Ignored"
501 },
502 "domNode": "button"
503 }
504
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698