Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / multicol / layers-in-multicol.html
index ad89c5d..7aa431d 100644 (file)
-<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>