Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-different-writing-direction-padding-box.html
blob94a8c6a37318f9b526dee910e32e21ef6e584ce2
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: padding-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 in the center of a blue rectangle.</p>
36 <div class="container">
37 <div class="float left"></div>
39 </div>
40 <p>You should see an orange square in the center of a blue rectangle.</p>
41 <div class="container" style="text-align: right">
42 <div class="float right"></div>
44 </div>
45 </body>