Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-different-writing-direction-content-box.html
blob7ffb613377d465185648518d6ac8f2a8fa2d0be0
1 <!DOCTYPE html>
2 <title>shape-outside on floats with a different writing direction in the float and the container</title>
3 <style>
4 .container {
5 font: 20px/1 Ahem;
6 color: orange;
7 width: 100px;
8 height: 20px;
9 background-color: blue;
11 .float {
12 direction: rtl;
13 shape-outside: content-box;
14 height: 20px;
15 width: 20px;
16 border-style: solid;
17 border-color: blue;
18 background-color: blue;
20 .left {
21 float: left;
22 margin: 0px 20px 0px 0px;
23 border-width: 0px 20px 0px 0px;
24 padding: 0px 20px 0px 0px;
26 .right {
27 float: right;
28 margin: 0px 0px 0px 20px;
29 border-width: 0px 0px 0px 20px;
30 padding: 0px 0px 0px 20px;
32 </style>
33 <body>
34 <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>
35 <p>You should see an orange square touching the left side of a blue rectangle. There should be a blue square to the left of the orange square.</p>
36 <div class="container">
37 <div class="float left"></div>
39 </div>
40 <p>You should see an orange square touching the right side of a blue rectangle. There should be a blue square to the right of the orange square.</p>
41 <div class="container" style="text-align: right">
42 <div class="float right"></div>
44 </div>
45 </body>