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

Unified Diff: LayoutTests/fast/multicol/composited-with-child-layer-in-next-column-expected.html

Issue 839793003: Bring back multicol reftests that got DRTified for impl-side painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another speculative fix: force layer creation in the test too. Created 5 years, 11 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: LayoutTests/fast/multicol/composited-with-child-layer-in-next-column-expected.html
diff --git a/LayoutTests/fast/multicol/composited-with-child-layer-in-next-column-expected.html b/LayoutTests/fast/multicol/composited-with-child-layer-in-next-column-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..dcc8825859ca8308f4c85084694dd96a60508714
--- /dev/null
+++ b/LayoutTests/fast/multicol/composited-with-child-layer-in-next-column-expected.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<p>There should be a yellow box in the second column, and the word 'PASS' should be in the third column.</p>
+<div style="width:17em; height:9em; line-height:2em;">
+ <div style="position:absolute; z-index:-1; left:0; right:0; height:9em; background:cyan;"></div>
+ <div style="float:left; width:5em; height:100%;"></div>
+ <div style="float:left; width:1em; height:100%;"></div>
+ <div style="float:left; width:5em; height:100%;">
+ <br>
+ <br>
+ <br>
+ <div style="height:2em; background:yellow;"></div>
+ </div>
+ <div style="float:left; width:1em; height:100%;"></div>
+ <div style="float:left; width:5em; height:100%;">
+ <br>
+ <!-- The extra span below forces the creation of a transparency layer in Skia to work around
+ optimizations that would cause blending differences between the test and the
+ expectation. -->
+ <div style="opacity:0.8; margin:0.5em;">PA<span>SS</span></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698