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

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

Issue 2492083002: Implement aria-placeholder (Closed)
Patch Set: Rebaseline android placeholder test Created 4 years 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 { 1 {
2 "nodeId": "<string>", 2 "nodeId": "<string>",
3 "ignored": false, 3 "ignored": false,
4 "role": { 4 "role": {
5 "type": "role", 5 "type": "role",
6 "value": "textbox" 6 "value": "textbox"
7 }, 7 },
8 "name": { 8 "name": {
9 "type": "computedString", 9 "type": "computedString",
10 "value": "", 10 "value": "",
11 "sources": [ 11 "sources": [
12 { 12 {
13 "type": "relatedElement", 13 "type": "relatedElement",
14 "attribute": "aria-labelledby" 14 "attribute": "aria-labelledby"
15 }, 15 },
16 { 16 {
17 "type": "attribute", 17 "type": "attribute",
18 "attribute": "aria-label" 18 "attribute": "aria-label"
19 }, 19 },
20 { 20 {
21 "type": "relatedElement", 21 "type": "relatedElement",
22 "nativeSource": "label" 22 "nativeSource": "label"
23 }, 23 },
24 { 24 {
25 "type": "placeholder", 25 "type": "placeholder",
26 "attribute": "placeholder" 26 "attribute": "placeholder"
27 }, 27 },
28 { 28 {
29 "type": "placeholder",
30 "attribute": "aria-placeholder"
31 },
32 {
29 "type": "attribute", 33 "type": "attribute",
30 "attribute": "title" 34 "attribute": "title"
31 } 35 }
32 ] 36 ]
33 }, 37 },
34 "properties": [ 38 "properties": [
35 { 39 {
36 "name": "invalid", 40 "name": "invalid",
37 "value": { 41 "value": {
38 "type": "token", 42 "type": "token",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 }, 88 },
85 { 89 {
86 "type": "relatedElement", 90 "type": "relatedElement",
87 "nativeSource": "label" 91 "nativeSource": "label"
88 }, 92 },
89 { 93 {
90 "type": "placeholder", 94 "type": "placeholder",
91 "attribute": "placeholder" 95 "attribute": "placeholder"
92 }, 96 },
93 { 97 {
98 "type": "placeholder",
99 "attribute": "aria-placeholder"
100 },
101 {
94 "type": "attribute", 102 "type": "attribute",
95 "value": { 103 "value": {
96 "type": "computedString", 104 "type": "computedString",
97 "value": "text2-title" 105 "value": "text2-title"
98 }, 106 },
99 "attribute": "title" 107 "attribute": "title"
100 } 108 }
101 ] 109 ]
102 }, 110 },
103 "properties": [ 111 "properties": [
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "type": "computedString", 169 "type": "computedString",
162 "value": "text3-placeholder" 170 "value": "text3-placeholder"
163 }, 171 },
164 "attribute": "placeholder", 172 "attribute": "placeholder",
165 "attributeValue": { 173 "attributeValue": {
166 "type": "string", 174 "type": "string",
167 "value": "text3-placeholder" 175 "value": "text3-placeholder"
168 } 176 }
169 }, 177 },
170 { 178 {
179 "type": "placeholder",
180 "value": {
181 "type": "computedString",
182 "value": "text3-aria-placeholder"
183 },
184 "attribute": "aria-placeholder",
185 "attributeValue": {
186 "type": "string",
187 "value": "text3-aria-placeholder"
188 },
189 "superseded": true
190 },
191 {
171 "type": "attribute", 192 "type": "attribute",
172 "value": { 193 "value": {
173 "type": "computedString", 194 "type": "computedString",
174 "value": "text3-title" 195 "value": "text3-title"
175 }, 196 },
176 "attribute": "title" 197 "attribute": "title",
198 "superseded": true
177 } 199 }
178 ] 200 ]
179 }, 201 },
180 "description": { 202 "description": {
181 "type": "computedString", 203 "type": "computedString",
182 "value": "text3-title" 204 "value": "text3-title"
183 }, 205 },
184 "properties": [ 206 "properties": [
185 { 207 {
186 "name": "invalid", 208 "name": "invalid",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 "value": "text4-placeholder" 278 "value": "text4-placeholder"
257 }, 279 },
258 "attribute": "placeholder", 280 "attribute": "placeholder",
259 "attributeValue": { 281 "attributeValue": {
260 "type": "string", 282 "type": "string",
261 "value": "text4-placeholder" 283 "value": "text4-placeholder"
262 }, 284 },
263 "superseded": true 285 "superseded": true
264 }, 286 },
265 { 287 {
288 "type": "placeholder",
289 "value": {
290 "type": "computedString",
291 "value": "text4-aria-placeholder"
292 },
293 "attribute": "aria-placeholder",
294 "attributeValue": {
295 "type": "string",
296 "value": "text4-aria-placeholder"
297 },
298 "superseded": true
299 },
300 {
266 "type": "attribute", 301 "type": "attribute",
267 "value": { 302 "value": {
268 "type": "computedString", 303 "type": "computedString",
269 "value": "text4-title" 304 "value": "text4-title"
270 }, 305 },
271 "attribute": "title", 306 "attribute": "title",
272 "superseded": true 307 "superseded": true
273 } 308 }
274 ] 309 ]
275 }, 310 },
276 "description": { 311 "description": {
277 "type": "computedString", 312 "type": "computedString",
278 "value": "text4-placeholder" 313 "value": "text4-title"
279 }, 314 },
280 "properties": [ 315 "properties": [
281 { 316 {
282 "name": "invalid", 317 "name": "invalid",
283 "value": { 318 "value": {
284 "type": "token", 319 "type": "token",
285 "value": "false" 320 "value": "false"
286 } 321 }
287 }, 322 },
288 { 323 {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 "value": "text5-placeholder" 408 "value": "text5-placeholder"
374 }, 409 },
375 "attribute": "placeholder", 410 "attribute": "placeholder",
376 "attributeValue": { 411 "attributeValue": {
377 "type": "string", 412 "type": "string",
378 "value": "text5-placeholder" 413 "value": "text5-placeholder"
379 }, 414 },
380 "superseded": true 415 "superseded": true
381 }, 416 },
382 { 417 {
418 "type": "placeholder",
419 "value": {
420 "type": "computedString",
421 "value": "text5-aria-placeholder"
422 },
423 "attribute": "aria-placeholder",
424 "attributeValue": {
425 "type": "string",
426 "value": "text5-aria-placeholder"
427 },
428 "superseded": true
429 },
430 {
383 "type": "attribute", 431 "type": "attribute",
384 "value": { 432 "value": {
385 "type": "computedString", 433 "type": "computedString",
386 "value": "text5-title" 434 "value": "text5-title"
387 }, 435 },
388 "attribute": "title", 436 "attribute": "title",
389 "superseded": true 437 "superseded": true
390 } 438 }
391 ] 439 ]
392 }, 440 },
393 "description": { 441 "description": {
394 "type": "computedString", 442 "type": "computedString",
395 "value": "text5-placeholder" 443 "value": "text5-title"
396 }, 444 },
397 "properties": [ 445 "properties": [
398 { 446 {
399 "name": "invalid", 447 "name": "invalid",
400 "value": { 448 "value": {
401 "type": "token", 449 "type": "token",
402 "value": "false" 450 "value": "false"
403 } 451 }
404 }, 452 },
405 { 453 {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 "value": "text6-placeholder" 542 "value": "text6-placeholder"
495 }, 543 },
496 "attribute": "placeholder", 544 "attribute": "placeholder",
497 "attributeValue": { 545 "attributeValue": {
498 "type": "string", 546 "type": "string",
499 "value": "text6-placeholder" 547 "value": "text6-placeholder"
500 }, 548 },
501 "superseded": true 549 "superseded": true
502 }, 550 },
503 { 551 {
552 "type": "placeholder",
553 "value": {
554 "type": "computedString",
555 "value": "text6-aria-placeholder"
556 },
557 "attribute": "aria-placeholder",
558 "attributeValue": {
559 "type": "string",
560 "value": "text6-aria-placeholder"
561 },
562 "superseded": true
563 },
564 {
504 "type": "attribute", 565 "type": "attribute",
505 "value": { 566 "value": {
506 "type": "computedString", 567 "type": "computedString",
507 "value": "text6-title" 568 "value": "text6-title"
508 }, 569 },
509 "attribute": "title", 570 "attribute": "title",
510 "superseded": true 571 "superseded": true
511 } 572 }
512 ] 573 ]
513 }, 574 },
514 "description": { 575 "description": {
515 "type": "computedString", 576 "type": "computedString",
516 "value": "text6-placeholder" 577 "value": "text6-title"
517 }, 578 },
518 "properties": [ 579 "properties": [
519 { 580 {
520 "name": "invalid", 581 "name": "invalid",
521 "value": { 582 "value": {
522 "type": "token", 583 "type": "token",
523 "value": "false" 584 "value": "false"
524 } 585 }
525 }, 586 },
526 { 587 {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 } 656 }
596 ] 657 ]
597 } 658 }
598 }, 659 },
599 { 660 {
600 "type": "placeholder", 661 "type": "placeholder",
601 "attribute": "placeholder", 662 "attribute": "placeholder",
602 "superseded": true 663 "superseded": true
603 }, 664 },
604 { 665 {
666 "type": "placeholder",
667 "attribute": "aria-placeholder",
668 "superseded": true
669 },
670 {
605 "type": "attribute", 671 "type": "attribute",
606 "value": { 672 "value": {
607 "type": "computedString", 673 "type": "computedString",
608 "value": "text7-title" 674 "value": "text7-title"
609 }, 675 },
610 "attribute": "title", 676 "attribute": "title",
611 "superseded": true 677 "superseded": true
612 } 678 }
613 ] 679 ]
614 }, 680 },
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 }, 747 },
682 { 748 {
683 "type": "relatedElement", 749 "type": "relatedElement",
684 "nativeSource": "label" 750 "nativeSource": "label"
685 }, 751 },
686 { 752 {
687 "type": "placeholder", 753 "type": "placeholder",
688 "attribute": "placeholder" 754 "attribute": "placeholder"
689 }, 755 },
690 { 756 {
757 "type": "placeholder",
758 "attribute": "aria-placeholder"
759 },
760 {
691 "type": "attribute", 761 "type": "attribute",
692 "attribute": "title" 762 "attribute": "title"
693 } 763 }
694 ] 764 ]
695 }, 765 },
696 "properties": [ 766 "properties": [
697 { 767 {
698 "name": "invalid", 768 "name": "invalid",
699 "value": { 769 "value": {
700 "type": "token", 770 "type": "token",
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 "value": "text9-placeholder" 842 "value": "text9-placeholder"
773 }, 843 },
774 "attribute": "placeholder", 844 "attribute": "placeholder",
775 "attributeValue": { 845 "attributeValue": {
776 "type": "string", 846 "type": "string",
777 "value": "text9-placeholder" 847 "value": "text9-placeholder"
778 }, 848 },
779 "superseded": true 849 "superseded": true
780 }, 850 },
781 { 851 {
852 "type": "placeholder",
853 "value": {
854 "type": "computedString",
855 "value": "text9-aria-placeholder"
856 },
857 "attribute": "aria-placeholder",
858 "attributeValue": {
859 "type": "string",
860 "value": "text9-aria-placeholder"
861 },
862 "superseded": true
863 },
864 {
782 "type": "attribute", 865 "type": "attribute",
783 "value": { 866 "value": {
784 "type": "computedString", 867 "type": "computedString",
785 "value": "text9-title" 868 "value": "text9-title"
786 }, 869 },
787 "attribute": "title", 870 "attribute": "title",
788 "superseded": true 871 "superseded": true
789 } 872 }
790 ] 873 ]
791 }, 874 },
792 "description": { 875 "description": {
793 "type": "computedString", 876 "type": "computedString",
794 "value": "text9-placeholder" 877 "value": "text9-title"
795 }, 878 },
796 "properties": [ 879 "properties": [
797 { 880 {
798 "name": "invalid", 881 "name": "invalid",
799 "value": { 882 "value": {
800 "type": "token", 883 "type": "token",
801 "value": "false" 884 "value": "false"
802 } 885 }
803 }, 886 },
804 { 887 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 "value": "text10-placeholder" 967 "value": "text10-placeholder"
885 }, 968 },
886 "attribute": "placeholder", 969 "attribute": "placeholder",
887 "attributeValue": { 970 "attributeValue": {
888 "type": "string", 971 "type": "string",
889 "value": "text10-placeholder" 972 "value": "text10-placeholder"
890 }, 973 },
891 "superseded": true 974 "superseded": true
892 }, 975 },
893 { 976 {
977 "type": "placeholder",
978 "value": {
979 "type": "computedString",
980 "value": "text10-aria-placeholder"
981 },
982 "attribute": "aria-placeholder",
983 "attributeValue": {
984 "type": "string",
985 "value": "text10-aria-placeholder"
986 },
987 "superseded": true
988 },
989 {
894 "type": "attribute", 990 "type": "attribute",
895 "value": { 991 "value": {
896 "type": "computedString", 992 "type": "computedString",
897 "value": "text10-title" 993 "value": "text10-title"
898 }, 994 },
899 "attribute": "title", 995 "attribute": "title",
900 "superseded": true 996 "superseded": true
901 } 997 }
902 ] 998 ]
903 }, 999 },
904 "description": { 1000 "description": {
905 "type": "computedString", 1001 "type": "computedString",
906 "value": "text10-placeholder" 1002 "value": "text10-title"
907 }, 1003 },
908 "properties": [ 1004 "properties": [
909 { 1005 {
910 "name": "invalid", 1006 "name": "invalid",
911 "value": { 1007 "value": {
912 "type": "token", 1008 "type": "token",
913 "value": "false" 1009 "value": "false"
914 } 1010 }
915 }, 1011 },
916 { 1012 {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 } 1084 }
989 ] 1085 ]
990 } 1086 }
991 }, 1087 },
992 { 1088 {
993 "type": "placeholder", 1089 "type": "placeholder",
994 "attribute": "placeholder", 1090 "attribute": "placeholder",
995 "superseded": true 1091 "superseded": true
996 }, 1092 },
997 { 1093 {
1094 "type": "placeholder",
1095 "attribute": "aria-placeholder",
1096 "superseded": true
1097 },
1098 {
998 "type": "attribute", 1099 "type": "attribute",
999 "attribute": "title", 1100 "attribute": "title",
1000 "superseded": true 1101 "superseded": true
1001 } 1102 }
1002 ] 1103 ]
1003 }, 1104 },
1004 "properties": [ 1105 "properties": [
1005 { 1106 {
1006 "name": "invalid", 1107 "name": "invalid",
1007 "value": { 1108 "value": {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 { 1143 {
1043 "text": "second-label-for-text11", 1144 "text": "second-label-for-text11",
1044 "nodeResult": "label" 1145 "nodeResult": "label"
1045 } 1146 }
1046 ] 1147 ]
1047 } 1148 }
1048 } 1149 }
1049 ], 1150 ],
1050 "domNode": "input#text11" 1151 "domNode": "input#text11"
1051 } 1152 }
1153 {
1154 "nodeId": "<string>",
1155 "ignored": false,
1156 "role": {
1157 "type": "role",
1158 "value": "textbox"
1159 },
1160 "name": {
1161 "type": "computedString",
1162 "value": "text12-aria-placeholder",
1163 "sources": [
1164 {
1165 "type": "relatedElement",
1166 "attribute": "aria-labelledby"
1167 },
1168 {
1169 "type": "attribute",
1170 "attribute": "aria-label"
1171 },
1172 {
1173 "type": "relatedElement",
1174 "nativeSource": "label"
1175 },
1176 {
1177 "type": "placeholder",
1178 "attribute": "placeholder"
1179 },
1180 {
1181 "type": "placeholder",
1182 "value": {
1183 "type": "computedString",
1184 "value": "text12-aria-placeholder"
1185 },
1186 "attribute": "aria-placeholder",
1187 "attributeValue": {
1188 "type": "string",
1189 "value": "text12-aria-placeholder"
1190 }
1191 },
1192 {
1193 "type": "attribute",
1194 "value": {
1195 "type": "computedString",
1196 "value": "text12-title"
1197 },
1198 "attribute": "title",
1199 "superseded": true
1200 }
1201 ]
1202 },
1203 "description": {
1204 "type": "computedString",
1205 "value": "text12-title"
1206 },
1207 "properties": [
1208 {
1209 "name": "invalid",
1210 "value": {
1211 "type": "token",
1212 "value": "false"
1213 }
1214 },
1215 {
1216 "name": "multiline",
1217 "value": {
1218 "type": "boolean",
1219 "value": false
1220 }
1221 },
1222 {
1223 "name": "readonly",
1224 "value": {
1225 "type": "boolean",
1226 "value": false
1227 }
1228 },
1229 {
1230 "name": "required",
1231 "value": {
1232 "type": "boolean",
1233 "value": false
1234 }
1235 }
1236 ],
1237 "domNode": "input#text12"
1238 }
1052 1239
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698