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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/computed-name.html

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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 6
7 <body data-role="document" aria-label="implicit document name"> 7 <body data-role="document" aria-label="implicit document name">
8 <div id="test-cases"> 8 <div id="test-cases">
9 <div role="alert" aria-label="alert name">This is an alert</div> 9 <div role="alert" aria-label="alert name">This is an alert</div>
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 <input id="c4" data-expectedName="Placeholder4" type="text" placeholder= "Placeholder4"> 225 <input id="c4" data-expectedName="Placeholder4" type="text" placeholder= "Placeholder4">
226 <input id="c5" data-expectedName="Placeholder5" type="text" placeholder= "Placeholder5" title="Title5"> 226 <input id="c5" data-expectedName="Placeholder5" type="text" placeholder= "Placeholder5" title="Title5">
227 227
228 <input id="c6" data-expectedName="LabelledBy6" type="text" title="Title6 " 228 <input id="c6" data-expectedName="LabelledBy6" type="text" title="Title6 "
229 aria-label="AriaLabel6" aria-labelledby="lb6" 229 aria-label="AriaLabel6" aria-labelledby="lb6"
230 aria-describedby="db6"> 230 aria-describedby="db6">
231 231
232 <input id="c7" data-expectedName="Placeholder7" type="text" title="Title 7" 232 <input id="c7" data-expectedName="Placeholder7" type="text" title="Title 7"
233 placeholder="Placeholder7" data-knownFailure> 233 placeholder="Placeholder7" data-knownFailure>
234
235 <input id="c8" data-expectedName="ARIA Placeholder8" type="text" aria-pl aceholder="ARIA Placeholder8">
236 <input id="c5" data-expectedName="Placeholder9" type="text" aria-placeho lder="ARIA Placeholder9" placeholder="Placeholder9" title="Title9">
237
234 </div> 238 </div>
235 239
236 <div id="labels"> 240 <div id="labels">
237 <label for="c1">Label1</label> 241 <label for="c1">Label1</label>
238 <label for="c2">Label2</label> 242 <label for="c2">Label2</label>
239 <label for="c3">Label3</label> 243 <label for="c3">Label3</label>
240 244
241 <label for="c6">Label6</label> 245 <label for="c6">Label6</label>
242 246
243 <span id="lb3">LabelledBy3</span> 247 <span id="lb3">LabelledBy3</span>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 continue; 294 continue;
291 var expectedNameString = '"' + input.getAttribute('data-expectedName') + '"'; 295 var expectedNameString = '"' + input.getAttribute('data-expectedName') + '"';
292 shouldBe('input.computedName', expectedNameString); 296 shouldBe('input.computedName', expectedNameString);
293 } 297 }
294 document.querySelector('#test-cases').style.display = 'none'; 298 document.querySelector('#test-cases').style.display = 'none';
295 } 299 }
296 </script> 300 </script>
297 301
298 </body> 302 </body>
299 </html> 303 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698