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

Unified Diff: third_party/WebKit/Source/core/xml/XPathPath.cpp

Issue 2389883005: reflow comments in core/xml* (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/core/xml/XPathPath.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathPath.cpp b/third_party/WebKit/Source/core/xml/XPathPath.cpp
index a59fac3e82d585a6fa28ddfd0ceacb760025765a..cca8b44e549d73ac3300544bdae8549c7501a71d 100644
--- a/third_party/WebKit/Source/core/xml/XPathPath.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathPath.cpp
@@ -93,8 +93,10 @@ Value LocationPath::evaluate(EvaluationContext& evaluationContext) const {
EvaluationContext clonedContext = evaluationContext;
// http://www.w3.org/TR/xpath/
// Section 2, Location Paths:
- // "/ selects the document root (which is always the parent of the document element)"
- // "A / by itself selects the root node of the document containing the context node."
+ // "/ selects the document root (which is always the parent of the document
+ // element)"
+ // "A / by itself selects the root node of the document containing the context
+ // node."
// In the case of a tree that is detached from the document, we violate
// the spec and treat / as the root node of the detached tree.
// This is for compatibility with Firefox, and also seems like a more

Powered by Google App Engine
This is Rietveld 408576698