Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-inset.html
blob6813f4a8af7985b53b5599fcb6a627f2944c252a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .test {
6 font: 20px/1 Ahem, sans-serif;
7 border: 1px solid black;
8 line-height: 20px;
10 .container {
11 width: 60px;
12 height: 60px;
13 display: inline-block;
15 .float {
16 width: 40px;
17 height: 40px;
19 .top {
20 -webkit-shape-outside: inset(20px 0 0 0);
22 .right {
23 -webkit-shape-outside: inset(0 20px 0 0);
25 .bottom {
26 -webkit-shape-outside: inset(0 0 20px 0);
28 .left {
29 -webkit-shape-outside: inset(0 0 0 20px);
31 </style>
32 </head>
33 <body>
34 <div class="test container">
35 <div style="float: left" class="float top"></div>
36 XXX
38 XXX
39 </div>
40 <div class="test container">
41 <div style="float: right" class="float top"></div>
42 XXX
44 XXX
45 </div>
46 <div class="test container">
47 <div style="float: left" class="float right"></div>
50 XXX
51 </div>
52 <div class="test container">
53 <div style="float: left" class="float bottom"></div>
55 XXX
56 XXX
57 </div>
58 <div class="test container">
59 <div style="float: right" class="float bottom"></div>
61 XXX
62 XXX
63 </div>
64 <div class="test container">
65 <div style="float: right" class="float left"></div>
68 XXX
69 </div>
71 <p>Requires Ahem font. Each container contains a different inset shape-outside.</p>
72 <p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=338523">338523</a>: [CSS Shapes] Support inset for shape-outside</p>
73 </body>
74 </html>