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

Side by Side Diff: LayoutTests/accessibility/placeholder.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7
8 <input placeholder="search" type="text" name="q" size="15" maxlength="255" i d="searchterm" />
9
10 <input id="password" class="field" type="password" name="sc1798" value="" pl aceholder="Password" spellcheck="true" maxlength="5096">
11
12 <p id="description"></p>
13 <div id="console"></div>
14
15 <script>
16 if (window.accessibilityController) {
17 description("This test makes sure that the placeholder is returned a s the correct attribute");
18
19 var field = document.getElementById("searchterm").focus();
20 var fieldElement = accessibilityController.focusedElement;
21 shouldBe("fieldElement.stringAttributeValue('AXPlaceholderValue')", "'search'");
22
23 document.getElementById("password").focus();
24 var pass = accessibilityController.focusedElement;
25 shouldBe("pass.stringAttributeValue('AXPlaceholderValue')", "'Passwo rd'");
26
27 }
28 </script>
29
30 <script src="../fast/js/resources/js-test-post.js"></script>
31 </body>
32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/media-element.html ('k') | LayoutTests/accessibility/placeholder-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698