Index: chrome/browser/resources/chromeos/chromevox/common/group_util.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/common/group_util.js b/chrome/browser/resources/chromeos/chromevox/common/group_util.js |
index d2a8ff1959b30af8515b30d74ea5dd6a2bd00fe9..d487cfc51111ad1885f00aec34c9199442830186 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/common/group_util.js |
+++ b/chrome/browser/resources/chromeos/chromevox/common/group_util.js |
@@ -60,10 +60,10 @@ cvox.GroupUtil.BREAKOUT_SELECTOR_ = 'blockquote,' + |
'tr,' + |
'ul,' + |
'math,' + |
- // This takes care of MathJax expressions. |
+ // This takes care of MathJax expressions. |
'span.math,' + |
-// TODO (sorge) Do we want to group all math or only display math? |
-// '[mode="display"],' + |
+ // TODO (sorge) Do we want to group all math or only display math? |
+ // '[mode="display"],' + |
// Aria widget roles |
'[role~="alert ' + |
'alertdialog ' + |
@@ -119,8 +119,8 @@ cvox.GroupUtil.isLeafNode = function(node) { |
} |
if (!cvox.DomUtil.isSemanticElt(node)) { |
- var breakingNodes = node.querySelectorAll( |
- cvox.GroupUtil.BREAKOUT_SELECTOR_); |
+ var breakingNodes = |
+ node.querySelectorAll(cvox.GroupUtil.BREAKOUT_SELECTOR_); |
for (var i = 0; i < breakingNodes.length; ++i) { |
if (cvox.DomUtil.hasContent(breakingNodes[i])) { |
@@ -135,8 +135,7 @@ cvox.GroupUtil.isLeafNode = function(node) { |
} |
var content = cvox.DomUtil.collapseWhitespace( |
- cvox.DomUtil.getValue(node) + ' ' + |
- cvox.DomUtil.getName(node)); |
+ cvox.DomUtil.getValue(node) + ' ' + cvox.DomUtil.getName(node)); |
if (content.length > cvox.GroupUtil.MAX_CHARCOUNT_) { |
return false; |
} |