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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.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/LayoutSVGRootTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp
index 5954badfdeb235d9eb54e35a0c0e1f8f1ef6d103..7bec8fe8c1dbf82cc04d2c94ec6eba1686b9bc17 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRootTest.cpp
@@ -27,7 +27,8 @@ TEST_F(LayoutSVGRootTest, OverflowRectMappingWithoutViewportClipWithBorder) {
LayoutRect rect = SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(
*svgRect, *root);
- // (80, 80, 100, 100) added by root's content rect offset from border rect, not clipped.
+ // (80, 80, 100, 100) added by root's content rect offset from border rect,
+ // not clipped.
EXPECT_EQ(LayoutRect(90, 90, 100, 100), rect);
LayoutRect rootOverflowRect = static_cast<const LayoutObject*>(root)
@@ -54,12 +55,14 @@ TEST_F(LayoutSVGRootTest, OverflowRectMappingWithViewportClipAndBorder) {
LayoutRect rect = SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(
*svgRect, *root);
- // (80, 80, 100, 100) added by root's content rect offset from border rect, clipped by (10, 10, 200, 100).
+ // (80, 80, 100, 100) added by root's content rect offset from border rect,
+ // clipped by (10, 10, 200, 100).
EXPECT_EQ(LayoutRect(90, 90, 100, 20), rect);
LayoutRect rootOverflowRect = static_cast<const LayoutObject*>(root)
->localOverflowRectForPaintInvalidation();
- // SVG root with overflow:hidden doesn't include overflow from children, just border box rect.
+ // SVG root with overflow:hidden doesn't include overflow from children, just
+ // border box rect.
EXPECT_EQ(LayoutRect(0, 0, 220, 120), rootOverflowRect);
rect = rootOverflowRect;
@@ -87,7 +90,8 @@ TEST_F(LayoutSVGRootTest, OverflowRectMappingWithViewportClipWithoutBorder) {
LayoutRect rootOverflowRect = static_cast<const LayoutObject*>(root)
->localOverflowRectForPaintInvalidation();
- // SVG root doesn't have box decoration background, so just use clipped overflow of children.
+ // SVG root doesn't have box decoration background, so just use clipped
+ // overflow of children.
EXPECT_EQ(LayoutRect(80, 80, 100, 20), rootOverflowRect);
rect = rootOverflowRect;

Powered by Google App Engine
This is Rietveld 408576698