Index: third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp |
index 4e7e9b689daae427c19ac74c834629a75dce3c96..cbf20cda7a22d76d26ef4dc37430942eb3252cd1 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp |
@@ -55,15 +55,16 @@ TEST_F(LayoutBoxTest, BackgroundRect) { |
"<div id='target5'></div>" |
"<div id='target6'></div>"); |
- // #target1's opaque background color only fills the content box but its translucent image extends to the borders. |
+ // #target1's opaque background color only fills the content box but its |
+ // translucent image extends to the borders. |
LayoutBox* layoutBox = toLayoutBox(getLayoutObjectByElementId("target1")); |
EXPECT_EQ(LayoutRect(20, 20, 100, 100), |
layoutBox->backgroundRect(BackgroundKnownOpaqueRect)); |
EXPECT_EQ(LayoutRect(0, 0, 140, 140), |
layoutBox->backgroundRect(BackgroundClipRect)); |
- // #target2's background color is opaque but only fills the padding-box because it has local attachment. |
- // This eclipses the content-box image. |
+ // #target2's background color is opaque but only fills the padding-box |
+ // because it has local attachment. This eclipses the content-box image. |
layoutBox = toLayoutBox(getLayoutObjectByElementId("target2")); |
EXPECT_EQ(LayoutRect(10, 10, 120, 120), |
layoutBox->backgroundRect(BackgroundKnownOpaqueRect)); |
@@ -82,17 +83,17 @@ TEST_F(LayoutBoxTest, BackgroundRect) { |
EXPECT_EQ(LayoutRect(0, 0, 140, 140), |
layoutBox->backgroundRect(BackgroundClipRect)); |
- // #target5's solid background only covers the content-box but it has a "none" background |
- // covering the border box. |
+ // #target5's solid background only covers the content-box but it has a "none" |
+ // background covering the border box. |
layoutBox = toLayoutBox(getLayoutObjectByElementId("target5")); |
EXPECT_EQ(LayoutRect(20, 20, 100, 100), |
layoutBox->backgroundRect(BackgroundKnownOpaqueRect)); |
EXPECT_EQ(LayoutRect(0, 0, 140, 140), |
layoutBox->backgroundRect(BackgroundClipRect)); |
- // Because it can scroll due to local attachment, the opaque local background in #target6 |
- // is treated as padding box for the clip rect, but remains the content box for the known |
- // opaque rect. |
+ // Because it can scroll due to local attachment, the opaque local background |
+ // in #target6 is treated as padding box for the clip rect, but remains the |
+ // content box for the known opaque rect. |
layoutBox = toLayoutBox(getLayoutObjectByElementId("target6")); |
EXPECT_EQ(LayoutRect(20, 20, 100, 100), |
layoutBox->backgroundRect(BackgroundKnownOpaqueRect)); |