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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp

Issue 2400783002: Reformat comments in core/layout/svg (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/layout/svg/LayoutSVGContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
index 9e1390669de831c6a2db4e1e4596a357f5caea6a..39df487373060856c8529d4a4c7c4c136ff8d204 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -204,9 +204,11 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result,
}
}
- // pointer-events: bounding-box makes it possible for containers to be direct targets.
+ // pointer-events: bounding-box makes it possible for containers to be direct
+ // targets.
if (style()->pointerEvents() == PE_BOUNDINGBOX) {
- // Check for a valid bounding box because it will be invalid for empty containers.
+ // Check for a valid bounding box because it will be invalid for empty
+ // containers.
if (isObjectBoundingBoxValid() &&
objectBoundingBox().contains(localPoint)) {
const LayoutPoint& localLayoutPoint = roundedLayoutPoint(localPoint);
@@ -216,7 +218,9 @@ bool LayoutSVGContainer::nodeAtFloatPoint(HitTestResult& result,
return true;
}
}
- // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispatched."
+ // 16.4: "If there are no graphics elements whose relevant graphics content is
+ // under the pointer (i.e., there is no target element), the event is not
+ // dispatched."
return false;
}

Powered by Google App Engine
This is Rietveld 408576698