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

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

Issue 2865403002: Don't allow subsequence caching for fragmented PaintLayers. (Closed)
Patch Set: Merge branch 'master' into multicolfix Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayerTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerTest.cpp b/third_party/WebKit/Source/core/paint/PaintLayerTest.cpp
index 0a48768a1f739af888a8f95d706c77185cb52e0d..83105a973717a1846cc08ee39155150c88e55804 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerTest.cpp
@@ -329,6 +329,16 @@ TEST_P(PaintLayerTest, SubsequenceCachingSVGRoot) {
EXPECT_TRUE(svgroot->SupportsSubsequenceCaching());
}
+TEST_P(PaintLayerTest, SubsequenceCachingMuticol) {
+ SetBodyInnerHTML(
+ "<div style='columns: 2'>"
+ " <svg id='svgroot' style='position: relative'></svg>"
+ "</div>");
+
+ PaintLayer* svgroot = GetPaintLayerByElementId("svgroot");
+ EXPECT_FALSE(svgroot->SupportsSubsequenceCaching());
+}
+
TEST_P(PaintLayerTest, HasDescendantWithClipPath) {
SetBodyInnerHTML(
"<div id='parent' style='position:relative'>"
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698