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

Unified Diff: LayoutTests/fast/multicol/layers-split-across-columns.html

Issue 615573003: Convert layer-related tests in fast/multicol to ref-tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 years, 2 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-split-across-columns.html
diff --git a/LayoutTests/fast/multicol/layers-split-across-columns.html b/LayoutTests/fast/multicol/layers-split-across-columns.html
index 07c3e55d8758114370ece1a4715fa35e22e0660d..4a167ac29016fe33ad166163156ef3df78765755 100644
--- a/LayoutTests/fast/multicol/layers-split-across-columns.html
+++ b/LayoutTests/fast/multicol/layers-split-across-columns.html
@@ -1,71 +1,71 @@
-<html>
-<head>
+<!DOCTYPE html>
<style>
-body { overflow: hidden; }
-.container { display:inline-block; width:220px; }
-.multicol { -moz-column-width:100px; -moz-column-gap:10px; -webkit-column-width:100px; -webkit-column-gap:10px; column-width:100px; column-gap:10px; column-fill:auto; height:300px; border:5px solid black; }
-.block { width:100px; height:100px }
+.container { width:120px; position: absolute; }
+.multicol { -moz-column-width:50px; -moz-column-gap:10px; -webkit-column-width:50px; -webkit-column-gap:10px; column-width:50px; column-gap:10px; column-fill:auto; height:150px; border:5px solid black; }
+.block { width:50px; height:50px }
.block:hover { background-color: maroon !important; }
-.layer { height:400px; width:100px }
+.layer { height:200px; width:50px }
.line2 { position: absolute; top: 343px; left: 8px; }
+.pos1 { left: 10px; top: 10px; }
+.pos2 { left: 150px; top: 10px; }
+.pos3 { left: 10px; top: 200px; }
+.pos4 { left: 150px; top: 200px; }
</style>
-<body>
-
-<div class="container">
+<div class="container pos1">
Overflow:
<div class="multicol">
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
<div style="overflow:hidden;" class="layer">
<div class="block" style="background-color: #0000f0"></div>
<div class="block" style="background-color: #0000d0"></div>
<div class="block" style="background-color: #0000b0"></div>
<div class="block" style="background-color: #000090"></div>
</div>
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
</div>
</div>
-<div class="container">
+<div class="container pos2">
Transforms:
<div class="multicol">
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
<div style="margin-left: -100px; -webkit-transform: translate(100px, 0);" class="layer">
<div class="block" style="background-color: #0000f0"></div>
<div class="block" style="background-color: #0000d0"></div>
<div class="block" style="background-color: #0000b0"></div>
<div class="block" style="background-color: #000090"></div>
</div>
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
</div>
</div>
</div>
-<div class="container">
-Relative Positioning:
+<div class="container pos3">
+Relative Pos.:
<div class="multicol">
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
<div style="position:relative; margin-left:-100px; left:100px" class="layer">
<div class="block" style="background-color: #0000f0"></div>
<div class="block" style="background-color: #0000d0"></div>
<div class="block" style="background-color: #0000b0"></div>
<div class="block" style="background-color: #000090"></div>
</div>
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
</div>
</div>
-<div class="container line2">
+<div class="container pos4">
Opacity:
<div class="multicol">
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
<div style="opacity:0.99;" class="layer">
<div class="block" style="background-color: #0000f0"></div>
<div class="block" style="background-color: #0000d0"></div>
<div class="block" style="background-color: #0000b0"></div>
<div class="block" style="background-color: #000090"></div>
</div>
-<div class="block" style="display:inline-block; background-color:black"></div>
+<div class="block" style="background-color:black"></div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698