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

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

Issue 2312353002: Revert of Add support for rich output inside of content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@editable_nav
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
index 8d16bc6d12380499e5e15d12af9c8e431c977034..98e7f23a2bd68bb5893f7b434647b404a764c05c 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
@@ -300,16 +300,16 @@
// TODO(plundblad): Some of these are wrong, there should be an initial
// space for the cursor in edit fields.
var expectedBrailleValues = [
- 'ed',
- '@ed',
- 'pwded',
- '#ed',
- 'spnbtn',
+ ' ed',
+ ' @ed',
+ ' pwded',
+ ' #ed',
+ ' spnbtn',
{string_: 'time'},
{string_: 'date'},
{string_: 'Choose File No file chosen btn'},
- 'srched',
- 'ed'
+ ' srched',
+ ' ed'
];
assertEquals(expectedSpeechValues.length, expectedBrailleValues.length);
@@ -396,10 +396,10 @@
o);
// TODO(plundblad): Braille output is wrong.
checkBrailleOutput(
- 'a tritm - 1/3 level 1 tree +3',
+ 'a tritm - 1/3 level 1 tree +3',
[{value: new Output.NodeSpan(el), start: 0, end: 1},
{value: new Output.NodeSpan(el.parent), start: 2, end: 23},
- {value: new Output.NodeSpan(el.parent.parent), start: 23, end: 30}],
+ {value: new Output.NodeSpan(el.parent.parent), start: 24, end: 31}],
o);
el = root.firstChild.children[1].firstChild;
@@ -414,10 +414,10 @@
o);
// TODO(plundblad): Braille output is wrong.
checkBrailleOutput(
- 'b tritm 2/3 level 1 tree +3',
+ 'b tritm 2/3 level 1 tree +3',
[{value: new Output.NodeSpan(el), start: 0, end: 1},
{value: new Output.NodeSpan(el.parent), start: 2, end: 21},
- {value: new Output.NodeSpan(el.parent.parent), start: 21, end: 28}],
+ {value: new Output.NodeSpan(el.parent.parent), start: 22, end: 29}],
o);
el = root.firstChild.children[2].firstChild;
@@ -433,10 +433,10 @@
o);
// TODO(plundblad): Braille output is wrong.
checkBrailleOutput(
- 'c tritm + 3/3 level 1 tree +3',
+ 'c tritm + 3/3 level 1 tree +3',
[{value: new Output.NodeSpan(el), start: 0, end: 1},
{value: new Output.NodeSpan(el.parent), start: 2, end: 23},
- {value: new Output.NodeSpan(el.parent.parent), start: 23, end: 30}],
+ {value: new Output.NodeSpan(el.parent.parent), start: 24, end: 31}],
o);
});
});
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698