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

Side by Side Diff: LayoutTests/accessibility/editable-caret-line-number.html

Issue 1073953002: Renamed layout tests in preparation for adding code to test contenteditable and role="textbox" in a… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/accessibility/editable-caret-line-number-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <script src="../resources/js-test.js"></script> 2 <script src="../resources/js-test.js"></script>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 </script> 6 </script>
7 <body> 7 <body>
8 <div id="console"></div> 8 <div id="console"></div>
9 <textarea name="area1" id="area1" rows="5" cols="40"> 9 <textarea name="area1" id="area1" rows="5" cols="40">
10 line 1 10 line 1
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 shouldBe("window.getSelection().setBaseAndExtent(contenteditableLine 3, 1, contenteditableLine3, 1); " + 56 shouldBe("window.getSelection().setBaseAndExtent(contenteditableLine 3, 1, contenteditableLine3, 1); " +
57 "contenteditableAXUIElement.insertionPointLineNumber;", "2" ); 57 "contenteditableAXUIElement.insertionPointLineNumber;", "2" );
58 58
59 contenteditableLine2.focus(); 59 contenteditableLine2.focus();
60 var textareaAXUIElement = accessibilityController.focusedElement; 60 var textareaAXUIElement = accessibilityController.focusedElement;
61 shouldBe("textareaAXUIElement.insertionPointLineNumber", "0"); 61 shouldBe("textareaAXUIElement.insertionPointLineNumber", "0");
62 } 62 }
63 </script> 63 </script>
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/editable-caret-line-number-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698