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

Unified Diff: third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp

Issue 2403553002: reflow comments in core/layout/[M-Z]*.{cpp,h} (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/PaintContainmentTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp b/third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp
index ca45aa56b4856729d96febafcd9038bc37735821..6c4951be71fb0cb740aeb1a05b579dbd0a8c3db4 100644
--- a/third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp
+++ b/third_party/WebKit/Source/core/layout/PaintContainmentTest.cpp
@@ -24,8 +24,8 @@ static void checkIsClippingStackingContextAndContainer(
EXPECT_TRUE(obj.hasClipRelatedProperty());
EXPECT_TRUE(obj.style()->containsPaint());
- // TODO(leviw): Ideally, we wouldn't require a paint layer to handle the clipping
- // and stacking performed by paint containment.
+ // TODO(leviw): Ideally, we wouldn't require a paint layer to handle the
+ // clipping and stacking performed by paint containment.
ASSERT(obj.layer());
PaintLayer* layer = obj.layer();
EXPECT_TRUE(layer->stackingNode() &&
@@ -57,7 +57,8 @@ TEST_F(PaintContainmentTest, InlinePaintContainment) {
}
TEST_F(PaintContainmentTest, SvgWithContainmentShouldNotCrash) {
- // SVG doesn't currently support PaintLayers and should not crash with layer-related properties.
+ // SVG doesn't currently support PaintLayers and should not crash with
+ // layer-related properties.
setBodyInnerHTML("<svg><text y='20' style='contain: paint'>Foo</text></svg>");
setBodyInnerHTML(
"<svg><foreignObject style='contain: paint'>Foo</foreignObject></svg>");

Powered by Google App Engine
This is Rietveld 408576698