Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-different-writing-modes-margin-box.html
blob111872318b4f904d429bdf8745e899c4e036310d
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;
9 background-color: blue;
11 .float {
12 -webkit-writing-mode: vertical-lr;
13 shape-outside: margin-box;
14 height: 20px;
15 width: 20px;
16 margin: 0px 20px;
17 border-width: 0px 20px;
18 border-style: solid;
19 border-color: blue;
20 padding: 0px 20px;
21 background-color: blue;
23 </style>
24 <body>
25 <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>
26 <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>
27 <div class="container">
28 <div class="float" style="float: left;"></div>
30 </div>
31 <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>
32 <div class="container" style="text-align: right;">
33 <div class="float" style="float: right;"></div>
35 </div>
36 </body>