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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-with-region-borders.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: 20px Ahem, sans-serif;
7 -webkit-font-smoothing: none;
8 -webkit-flow-into: flow;
9 }
10 .region {
11 width: 300px;
12 height: 300px;
13 background-color: yellow;
14 border-top: 10px solid lightgreen;
15 border-right: 20px solid green;
16 border-bottom: 30px solid lightblue;
17 border-left: 40px solid blue;
18 -webkit-flow-from: flow;
19 }
20 #shape_inside {
21 shape-inside: rectangle(50px, 0px, 200px, 300px);
22 background-color: orange;
23 }
24 </style>
25 </head>
26 <body>
27
28 <div id="shape_inside" class="region"></div>
29
30 <div id="content">
31 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
32 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
33 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
34 XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX
35 </div>
36
37 <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/>
38 The content should fill the shape-inside area out. There should be an equally 50 -50px left and right offset for the content in the content box. The borders shou ldn't have any effect on the shape-inside's rectangle.
39 <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>
40
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698