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

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

Issue 2956663002: Turn on rich editable text by default (Closed)
Patch Set: Rebase. Created 3 years, 6 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/editing.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/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 23bc7d1481088aa130ea00785c0f7820b7f04334..7be43bcde21e079efbd40914ce79e0811f62149e 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing_test.extjs
@@ -32,6 +32,7 @@ EditingTest.prototype = {
},
assertLineData: function(doc, data) {
+ editing.useRichText = false;
this.runWithLoadedTree(doc, function(root) {
var input = root.find({role: RoleType.TEXT_FIELD});
input.addEventListener('focus', this.newCallback(function() {
@@ -213,7 +214,6 @@ TEST_F('EditingTest', 'SingleCharacterLine', function() {
});
TEST_F('EditingTest', 'RichTextMoveByLine', function() {
- editing.useRichText = true;
var mockFeedback = this.createMockFeedback();
this.runWithLoadedTree(function() {/*!
<div id="go" role="textbox" contenteditable>
@@ -261,7 +261,6 @@ TEST_F('EditingTest', 'RichTextMoveByLine', function() {
});
TEST_F('EditingTest', 'RichTextMoveByCharacter', function() {
- editing.useRichText = true;
var mockFeedback = this.createMockFeedback();
this.runWithLoadedTree(function() {/*!
<div id="go" role="textbox" contenteditable>This <b>is</b> a test.</div>
@@ -332,7 +331,6 @@ TEST_F('EditingTest', 'RichTextMoveByCharacter', function() {
// Tests specifically for cursor workarounds.
TEST_F('EditingTest', 'RichTextMoveByCharacterNodeWorkaround', function() {
- editing.useRichText = true;
var mockFeedback = this.createMockFeedback();
this.runWithLoadedTree(function() {/*!
<div id="go" role="textbox" contenteditable>hello <b>world</b></div>
@@ -374,7 +372,6 @@ TEST_F('EditingTest', 'RichTextMoveByCharacterNodeWorkaround', function() {
});
TEST_F('EditingTest', 'RichTextMoveByCharacterEndOfLine', function() {
- editing.useRichText = true;
var mockFeedback = this.createMockFeedback();
this.runWithLoadedTree(function() {/*!
<div id="go" role="textbox" contenteditable>Test</div>
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698