Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-different-writing-modes-padding-box.html
blobe0b48a1ff6e049732e1acaffd8d1a534424d33e0
1 <!DOCTYPE html>
2 <title>shape-outside on floats with a different writing mode in the float and the container</title>
3 <style>
4 .container {
5 font: 20px/1 Ahem;
6 color: orange;
7 width: 160px;
8 height: 20px;
10 .float {
11 -webkit-writing-mode: vertical-lr;
12 shape-outside: padding-box;
13 height: 20px;
14 width: 20px;
15 margin: 0px 20px;
16 border-width: 0px 20px;
17 border-style: solid;
18 border-color: blue;
19 padding: 0px 20px;
20 background-color: blue;
22 </style>
23 <body>
24 <p><a href="https://code.google.com/p/chromium/issues/detail?id=322165">Issue 322165</a>: [META][CSS Shapes] Implement new syntax for CSS Shapes</p>
25 <p>You should see an orange square touching the right side of a blue rectangle. There should be no blue to the right of the orange square.</p>
26 <div class="container">
27 <div class="float" style="float: left;"></div>
29 </div>
30 <p>You should see an orange square touching the left side of a blue rectangle. There should be no blue to the left of the orange square.</p>
31 <div class="container" style="text-align: right">
32 <div class="float" style="float: right;"></div>
34 </div>
35 </body>