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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-inline-content-polygon-with-adjustment-expected.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 #content {
10 font: 13px Ahem, sans-serif;
11 line-height: 15px;
12 }
13 .region1 {
14 width: 200px;
15 height: 200px;
16 border: 5px solid black;
17 border-top: 10px solid green;
18 border-bottom: 15px solid yellow;
19 margin-top: 10px;
20 }
21 .region2 {
22 width: 400px;
23 height: 400px;
24 border: 15px solid black;
25 margin-top: 10px;
26 border-top: 30px solid green;
27 -webkit-shape-inside: polygon(30px 30px, 380px 380px, 10px 380px);
28 }
29 </style>
30 </head>
31 <body>
32 <div id="content">
33 <div class="region1">
34 The Culture and the Idiran Empire are at war in a galaxy-spanning confli ct. Horza, a mercenary capable of altering his appearance at will (a Changer), i s
35 </div>
36 <div class="region2">
37 assigned the task of retrieving a dispossessed Culture Mind by his Idira n handlers. The Mind, while fleeing attacking Idirans who consider its existence an abomination, has taken...
38 </div>
39 </div>
40
41 <p style="margin-top: 30px;">Requires Ahem font. There are two regions, there is a polygon shape-inside on the second region. The shape is positioned and it for ces the content to be adjusted (pushed down from the top of the shape) inside th e shape. The content should fill out the first region and it should fill out the polygon shape on the second region.</p>
42 <p>Bug <a href="http://webkit.org/b/117599">117599</a>[CSS Shapes][CSS Regions] Respect bottom positioned shapes and content adjustment inside shapes</p>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698