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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp

Issue 2392443009: reflow comments in core/paint (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/paint/PaintLayerScrollableAreaTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp
index cab1b78d07020be816275e33eed825aac85bf060..91ff02538bda68c7db4f954e7139b0a17cd2e738 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp
@@ -61,63 +61,73 @@ TEST_F(PaintLayerScrollableAreaTest,
"<div id='scroller16' class='scroller' style='background: white; clip: "
"rect(0px,10px,10px,0px);'><div class='spacer'></div></div>");
- // #scroller1 cannot paint background into scrolling contents layer because it has a negative z-index child.
+ // #scroller1 cannot paint background into scrolling contents layer because it
+ // has a negative z-index child.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller1"));
- // #scroller2 cannot paint background into scrolling contents layer because it has a content-box clip without local attachment.
+ // #scroller2 cannot paint background into scrolling contents layer because it
+ // has a content-box clip without local attachment.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller2"));
// #scroller3 can paint background into scrolling contents layer.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller3"));
- // #scroller4 cannot paint background into scrolling contents layer because the background image is not locally attached.
+ // #scroller4 cannot paint background into scrolling contents layer because
+ // the background image is not locally attached.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller4"));
- // #scroller5 can paint background into scrolling contents layer because both the image and color are locally attached.
+ // #scroller5 can paint background into scrolling contents layer because both
+ // the image and color are locally attached.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller5"));
- // #scroller6 can paint background into scrolling contents layer because the image is locally attached and even though
- // the color is not, it is filled to the padding box so it will be drawn the same as a locally attached background.
+ // #scroller6 can paint background into scrolling contents layer because the
+ // image is locally attached and even though the color is not, it is filled to
+ // the padding box so it will be drawn the same as a locally attached
+ // background.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller6"));
- // #scroller7 cannot paint background into scrolling contents layer because the color is filled to the content
- // box and we have padding so it is not equivalent to a locally attached background.
+ // #scroller7 cannot paint background into scrolling contents layer because
+ // the color is filled to the content box and we have padding so it is not
+ // equivalent to a locally attached background.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller7"));
- // #scroller8 can paint background into scrolling contents layer because its border-box is equivalent to its
- // padding box since it has no border.
+ // #scroller8 can paint background into scrolling contents layer because its
+ // border-box is equivalent to its padding box since it has no border.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller8"));
- // #scroller9 can paint background into scrolling contents layer because its border is opaque so it completely
- // covers the background outside of the padding-box.
+ // #scroller9 can paint background into scrolling contents layer because its
+ // border is opaque so it completely covers the background outside of the
+ // padding-box.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller9"));
- // #scroller10 cannot paint background into scrolling contents layer because its border is partially transparent
- // so the background must be drawn to the border-box edges.
+ // #scroller10 cannot paint background into scrolling contents layer because
+ // its border is partially transparent so the background must be drawn to the
+ // border-box edges.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller10"));
- // #scroller11 can paint background into scrolling contents layer because its content-box is equivalent to its
- // padding box since it has no padding.
+ // #scroller11 can paint background into scrolling contents layer because its
+ // content-box is equivalent to its padding box since it has no padding.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller11"));
- // #scroller12 cannot paint background into scrolling contents layer because it has padding so its content-box
- // is not equivalent to its padding-box.
+ // #scroller12 cannot paint background into scrolling contents layer because
+ // it has padding so its content-box is not equivalent to its padding-box.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller12"));
- // #scroller13 cannot paint background into scrolling contents layer because it has a custom
- // scrollbar which the background may need to draw under.
+ // #scroller13 cannot paint background into scrolling contents layer because
+ // it has a custom scrollbar which the background may need to draw under.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller13"));
- // #scroller14 can paint background into scrolling contents layer because the outline is drawn outside the
- // padding box.
+ // #scroller14 can paint background into scrolling contents layer because the
+ // outline is drawn outside the padding box.
EXPECT_TRUE(canPaintBackgroundOntoScrollingContentsLayer("scroller14"));
- // #scroller15 cannot paint background into scrolling contents layer because the outline is drawn inside
- // the padding box.
+ // #scroller15 cannot paint background into scrolling contents layer because
+ // the outline is drawn inside the padding box.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller15"));
- // #scroller16 cannot paint background into scrolling contents layer because the scroller has a clip which
- // would not be respected by the scrolling contents layer.
+ // #scroller16 cannot paint background into scrolling contents layer because
+ // the scroller has a clip which would not be respected by the scrolling
+ // contents layer.
EXPECT_FALSE(canPaintBackgroundOntoScrollingContentsLayer("scroller16"));
}

Powered by Google App Engine
This is Rietveld 408576698