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

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

Issue 2208463003: First step of PaintInvalidator implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 4 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/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>"
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintInvalidator.cpp ('k') | third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698