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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs

Issue 2931893002: More precise use of multiline state (Closed)
Patch Set: Rebase Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
index f589443a408f1386dc5bf1902da2b11b386f597f..6c77125b5195991e3da83b6e96c3b3e8caab582d 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
@@ -163,7 +163,8 @@ TEST_F('EditingTest', 'TextButNoSelectionChange', function() {
TEST_F('EditingTest', 'OneLineBreak', function() {
this.assertLineData(function() {/*!
- <div role="textbox" contenteditable>this is a<br>test</div>
+ <div role="textbox" contenteditable aria-multiline="true">
+ this is a<br>test</div>
*/},
[
{start: 0, end: 9, text: 'this is a'},
@@ -173,8 +174,8 @@ TEST_F('EditingTest', 'OneLineBreak', function() {
TEST_F('EditingTest', 'TwoLineBreaks', function() {
this.assertLineData(function() {/*!
- <div role="textbox" contenteditable>this is a<br><br>
- test</div>
+ <div role="textbox" contenteditable aria-multiline="true">
+ this is a<br><br>test</div>
*/},
[
{start: 0, end: 9, text: 'this is a'},
@@ -185,7 +186,7 @@ TEST_F('EditingTest', 'TwoLineBreaks', function() {
TEST_F('EditingTest', 'InitialBreaks', function() {
this.assertLineData(function() {/*!
- <div role="textbox" contenteditable><br><br><br>
+ <div role="textbox" contenteditable aria-multiline="true"><br><br><br>
this is a</div>
*/},
[
@@ -198,7 +199,7 @@ TEST_F('EditingTest', 'InitialBreaks', function() {
TEST_F('EditingTest', 'SingleCharacterLine', function() {
this.assertLineData(function() {/*!
- <div role="textbox" contenteditable>
+ <div role="textbox" contenteditable aria-multiline="true">
<div>this</div><br>
<div><br>
I<br>

Powered by Google App Engine
This is Rietveld 408576698