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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-with-region-padding.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 <style>
5 #content {
6 font: 18px Ahem, sans-serif;
7 line-height: 20px;
8 -webkit-flow-into: flow;
9 }
10 .region {
11 width: 300px;
12 height: 300px;
13 background-color: yellow;
14 border: 1px solid black;
15 padding-top: 10px;
16 padding-right: 20px;
17 padding-bottom: 30px;
18 padding-left: 40px;
19 -webkit-flow-from: flow;
20 }
21 #shape_inside {
22 shape-inside: rectangle(50px, 0px, 200px, 300px);
23 background-color: orange;
24 }
25 </style>
26 </head>
27 <body>
28
29 <div id="shape_inside" class="region"></div>
30
31 <div id="content">
32 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
33 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
34 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
35 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
36 </div>
37
38 <p>Requires Ahem font. The content flows into a region (300px wide) what contain s a shape-inside rectangle (200px wide) with 50px left offset.<br/>
39 The content should fill the shape-inside area out. The different paddings (top 1 0, right 20, bottom 30, left 40px) should be applied on the container. The paddi ng shouldn't have any effect on the shape-inside's content.
40 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus ions] Shape-inside on regions should respect region borders and paddings</p>
41
42 </body>
43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698