Index: third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp |
index e7957b179f1a57323fbce5d50d2e210b26676db5..00a1f7495079a177cf40c20bd4690cd672274346 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp |
@@ -490,6 +490,10 @@ TEST_P(PaintLayerPainterTest, PaintPhasesUpdateOnBecomingNonSelfPainting) |
TEST_P(PaintLayerPainterTest, TableCollapsedBorderNeedsPaintPhaseDescendantBlockBackgrounds) |
{ |
+ // TODO(wangxianzhu): Enable this test slimmingPaintInvalidation when its fully functional. |
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) |
+ return; |
+ |
// "position: relative" makes the table and td self-painting layers. |
// The table's layer should be marked needsPaintPhaseDescendantBlockBackground because it |
// will paint collapsed borders in the phase. |
@@ -507,6 +511,10 @@ TEST_P(PaintLayerPainterTest, TableCollapsedBorderNeedsPaintPhaseDescendantBlock |
TEST_P(PaintLayerPainterTest, TableCollapsedBorderNeedsPaintPhaseDescendantBlockBackgroundsDynamic) |
{ |
+ // TODO(wangxianzhu): Enable this test slimmingPaintInvalidation when its fully functional. |
+ if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) |
+ return; |
+ |
setBodyInnerHTML( |
"<table id='table' style='position: relative'>" |
" <tr><td style='position: relative; border: 1px solid green'>Cell</td></tr>" |