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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/name-calc-group-inside-treeitem.html

Issue 2867073003: Name calculation should not include nameFrom:author descendants. (Closed)
Patch Set: Rebase 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
(Empty)
1 <!DOCTYPE HTML>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 li { list-style-type: none; }
6 </style>
7 <ul role="tree">
8 <li role="treeitem" id="parent1">
9 Parent1
10 <ul role="group" id="group1">
11 <li role="treeitem" id="treeitem1">
12 Child1
13 </li>
14 </ul>
15 </li>
16 </ul>
17
18 <div role="tree">
19 <span role="treeitem" id="parent2">
20 Parent2
21 <span role="group">
22 <span role="treeitem">
23 Child2
24 </span>
25 </span>
26 </span>
27 </div>
28
29
30 <script>
31 test(function(t) {
32 var axParent1 = accessibilityController.accessibleElementById("parent1");
33 assert_equals(axParent1.name.trim(), "Parent1");
34 }, "Accessible name does not include display:block descendants with nameFrom:aut hor");
35
36 test(function(t) {
37 var axParent2 = accessibilityController.accessibleElementById("parent2");
38 assert_equals(axParent2.name.trim(), "Parent2");
39 }, "Accessible name does not include display:inline descendants with nameFrom:au thor");
40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698