| 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_);
|
| + });
|
| +});
|
|
|