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

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

Issue 1974963002: Output divs using descendant nodes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 79ae25315911a4a6d535adf96d82e7a62fcd9070..9a9cff50e6f9acbb900d517601ef541e5cacbe0d 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
@@ -621,3 +621,15 @@ TEST_F('OutputE2ETest', 'JoinDescendants', function() {
, joined.speechOutputForTest.string_);
});
});
+
+TEST_F('OutputE2ETest', 'ComplexDiv', function() {
+ this.runWithLoadedTree(function() {/*!
+ <div><button>ok</button></div>
+ */},
+ function(root) {
+ var div = root.find({role: 'div'});
+ var o = new Output().withSpeech(cursors.Range.fromNode(div));
+ assertEquals('|ok||Button'
+ , o.speechOutputForTest.string_);
+ });
+});
« 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