Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-different-writing-modes-border-box.html
blobdd3d9adcb98b7924eecf1faf90db40f6f7c20cbe
1 <!DOCTYPE html>
2 <title>shape-outside on floats with a different writing mode in the float and the container</title>
3 <script src="../../../resources/ahem.js"></script>
4 <style>
5 .container {
6 font: 20px/1 Ahem;
7 color: orange;
8 width: 160px;
9 height: 20px;
11 .float {
12 -webkit-writing-mode: vertical-lr;
13 shape-outside: border-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>