Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html

Issue 19865002: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 if (window.internals)
6 window.internals.settings.setCSSExclusionsEnabled(true);
7 </script>
8 <style>
9 #rectangle {
10 font: 20px Ahem, sans-serif;
11 -webkit-font-smoothing: none;
12 line-height: 20px;
13 -webkit-flow-into: flow;
14 }
15 #region {
16 -webkit-flow-from: flow;
17 width: 200px;
18 height: 200px;
19 -webkit-shape-inside: rectangle(50px, 50px, 100px, 100px);
20 border: 2px solid green;
21 }
22 #border {
23 position: absolute;
24 top: 58px;
25 left: 58px;
26 width: 100px;
27 height: 100px;
28 border: 2px solid blue;
29 }
30 </style>
31 </head>
32 <body>
33 <div id="rectangle">
34 X X X X X X X X X X X X X X X X X X X X X X X
35 </div>
36
37 <div id="page">
38 <div id="border"></div>
39 <div id="region"></div>
40 </div>
41 <p style="margin-top: 100px;">Requires Ahem font. The shape-inside on the re gion is illustrated by the blue rectangle. The content should wrap inside the th e blue rectangle, the overflow should start on the left under the content box.</ p>
42 <p>Bug <a href="http://webkit.org/b/116252">116252</a> [CSS Regions][CSS Exc lusions] shape-inside on regions should respect positioned shapes and overflow</ p>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698