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

Unified Diff: LayoutTests/fast/multicol/layers-in-multicol-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/layers-in-multicol-expected.html
diff --git a/LayoutTests/fast/multicol/layers-in-multicol-expected.html b/LayoutTests/fast/multicol/layers-in-multicol-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..97d5761f8c1847e688f914475bc284a6a993a437
--- /dev/null
+++ b/LayoutTests/fast/multicol/layers-in-multicol-expected.html
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<style>
+ .multicol {
+ width: 300px;
+ height: 100px;
+ line-height: 20px;
+ border: 5px solid maroon;
+ }
+ .column {
+ width: 100px;
+ float: left;
+ }
+ .multicol[dir="rtl"] > .column {
+ float: right;
+ }
+ .block {
+ display: inline-block;
+ width: 1em;
+ height: 10px;
+ background-color: green;
+ }
+ .opacity {
+ opacity: 0.5;
+ color: green;
+ }
+ .relative {
+ position: relative;
+ top: -4px;
+ color: green;
+ }
+</style>
+<p>
+ Test layers which are fully contained within a single column.
+</p>
+LTR:
+<div class="multicol">
+ <div class="column">
+ line1<br>
+ line2<br>
+ line3<br>
+ line4<br>
+ line5<br>
+ </div>
+ <div class="column">
+ line6<br>
+ <div class="block"></div> line7<br>
+ line8<br>
+ <span class="relative">relative9</span><br>
+ line10<br>
+ </div>
+ <div class="column">
+ line11<br>
+ line12<br>
+ <!-- The extra inner 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. -->
+ <span class="opacity">opacity<span>13</span></span><br>
+ line14
+ </div>
+</div>
+
+RTL:
+<div class="multicol" dir="rtl">
+ <div class="column">
+ line1<br>
+ line2<br>
+ line3<br>
+ line4<br>
+ line5<br>
+ </div>
+ <div class="column">
+ line6<br>
+ <div class="block"></div> line7<br>
+ line8<br>
+ <span class="relative">relative9</span><br>
+ line10<br>
+ </div>
+ <div class="column">
+ line11<br>
+ line12<br>
+ <!-- The extra inner 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. -->
+ <span class="opacity">opacity<span>13</span></span><br>
+ line14
+ </div>
+</div>
« no previous file with comments | « LayoutTests/fast/multicol/layers-in-multicol.html ('k') | LayoutTests/fast/multicol/transform-inside-opacity-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698