Index: third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp |
diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp |
index 0dec174a27c2605866f789fe692dee8c69c4a8cf..5609b0ffaa8e41720de66cb3c946454fcbdada09 100644 |
--- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp |
+++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp |
@@ -36,8 +36,9 @@ namespace blink { |
bool TreeScopeEventContext::isUnclosedTreeOf( |
const TreeScopeEventContext& other) { |
// Exclude closed nodes if necessary. |
- // If a node is in a closed shadow root, or in a tree whose ancestor has a closed shadow root, |
- // it should not be visible to nodes above the closed shadow root. |
+ // If a node is in a closed shadow root, or in a tree whose ancestor has a |
+ // closed shadow root, it should not be visible to nodes above the closed |
+ // shadow root. |
// (1) If |this| is an ancestor of |other| in tree-of-trees, include it. |
if (isInclusiveAncestorOf(other)) |
@@ -47,7 +48,8 @@ bool TreeScopeEventContext::isUnclosedTreeOf( |
if (!containingClosedShadowTree()) |
return true; |
- // (3) If |this| is descendent of |other|, exclude if any closed shadow root in between. |
+ // (3) If |this| is descendent of |other|, exclude if any closed shadow root |
+ // in between. |
if (isDescendantOf(other)) |
return !containingClosedShadowTree()->isDescendantOf(other); |