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

Unified Diff: LayoutTests/fast/multicol/layers-in-multicol.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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/layers-in-multicol-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/layers-in-multicol.html
diff --git a/LayoutTests/fast/multicol/layers-in-multicol.html b/LayoutTests/fast/multicol/layers-in-multicol.html
index ad89c5d1b586f4daaf9f309781907c4f7c36e352..7aa431dfafd1d5ebb3af89d4decce784cdfde43f 100644
--- a/LayoutTests/fast/multicol/layers-in-multicol.html
+++ b/LayoutTests/fast/multicol/layers-in-multicol.html
@@ -1,134 +1,69 @@
-<body style="overflow: hidden;">
-LTR Version:
-
-<div style="-moz-column-width:200px; -webkit-column-width:200px; column-width:200px; column-fill:auto; height:300px; border:5px solid maroon;">
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-<div>
-<div style="display:inline-block;background-color:green;position:relative;height:270px;width:100px"></div>
-</div>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-<span style="opacity:0.7">
-This is some transparent text.<br></span>
-<div style="position:relative; left:10px">
-This is relative positioned text.
-</div>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
+<!DOCTYPE html>
+<style>
+ .multicol {
+ -moz-column-width: 100px;
+ -webkit-column-width: 100px;
+ column-width: 100px;
+ column-fill: auto;
+ -webkit-column-gap: 0;
+ -moz-column-gap: 0;
+ column-gap: 0;
+ height: 100px;
+ line-height: 20px;
+ border: 5px solid maroon;
+ width: 300px;
+ }
+ .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">
+ line1<br>
+ line2<br>
+ line3<br>
+ line4<br>
+ line5<br>
+ line6<br>
+ <div class="block"></div> line7<br>
+ line8<br>
+ <span class="relative">relative9</span><br>
+ line10<br>
+ line11<br>
+ line12<br>
+ <span class="opacity">opacity13</span><br>
+ line14
</div>
-RTL Version:
-<div style="-moz-column-width:200px; -webkit-column-width:200px; column-width:200px; column-fill:auto; height:300px; border:5px solid maroon; direction:rtl">
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-<div>
-<div style="display:inline-block;background-color:green;position:relative;height:270px;width:100px"></div>
-</div>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-<span style="opacity:0.7">
-This is some transparent text.<br></span>
-<div style="position:relative; left:10px">
-This is relative positioned text.
-</div>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
-This is some text<br>
+RTL:
+<div class="multicol" dir="rtl">
+ line1<br>
+ line2<br>
+ line3<br>
+ line4<br>
+ line5<br>
+ line6<br>
+ <div class="block"></div> line7<br>
+ line8<br>
+ <span class="relative">relative9</span><br>
+ line10<br>
+ line11<br>
+ line12<br>
+ <span class="opacity">opacity13</span><br>
+ line14
</div>
-</body>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/multicol/layers-in-multicol-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698