Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp |
index 97c69167f5dc870b773352980de52dd6de574464..8a08b8668ce0334c1c86460446a2fc880892e0a9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObjectTest.cpp |
@@ -54,7 +54,8 @@ TEST_F(LayoutBoxModelObjectTest, StickyPositionConstraints) { |
scrollableArea->stickyConstraintsMap().get(sticky->layer()); |
ASSERT_EQ(0.f, constraints.topOffset()); |
- // The coordinates of the constraint rects should all be with respect to the unscrolled scroller. |
+ // The coordinates of the constraint rects should all be with respect to the |
+ // unscrolled scroller. |
ASSERT_EQ(IntRect(15, 115, 170, 370), |
enclosingIntRect( |
getScrollContainerRelativeContainingBlockRect(constraints))); |
@@ -91,7 +92,8 @@ TEST_F(LayoutBoxModelObjectTest, StickyPositionTransforms) { |
scrollableArea->stickyConstraintsMap().get(sticky->layer()); |
ASSERT_EQ(0.f, constraints.topOffset()); |
- // The coordinates of the constraint rects should all be with respect to the unscrolled scroller. |
+ // The coordinates of the constraint rects should all be with respect to the |
+ // unscrolled scroller. |
ASSERT_EQ(IntRect(15, 115, 170, 370), |
enclosingIntRect( |
getScrollContainerRelativeContainingBlockRect(constraints))); |
@@ -135,8 +137,8 @@ TEST_F(LayoutBoxModelObjectTest, StickyPositionPercentageStyles) { |
enclosingIntRect(getScrollContainerRelativeStickyBoxRect(constraints))); |
} |
-// Verifies that the sticky constraints are correct when the sticky position container is also |
-// the ancestor scroller. |
+// Verifies that the sticky constraints are correct when the sticky position |
+// container is also the ancestor scroller. |
TEST_F(LayoutBoxModelObjectTest, StickyPositionContainerIsScroller) { |
setBodyInnerHTML( |
"<style>#sticky { position: sticky; top: 0; width: 100px; height: 100px; " |
@@ -167,8 +169,8 @@ TEST_F(LayoutBoxModelObjectTest, StickyPositionContainerIsScroller) { |
enclosingIntRect(getScrollContainerRelativeStickyBoxRect(constraints))); |
} |
-// Verifies that the sticky constraints are correct when the sticky position object has an |
-// anonymous containing block. |
+// Verifies that the sticky constraints are correct when the sticky position |
+// object has an anonymous containing block. |
TEST_F(LayoutBoxModelObjectTest, StickyPositionAnonymousContainer) { |
setBodyInnerHTML( |
"<style>#sticky { display: inline-block; position: sticky; top: 0; " |