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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.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 #rectangle {
6 font: 20px Ahem, sans-serif;
7 -webkit-font-smoothing: none;
8 line-height: 20px;
9 -webkit-flow-into: flow;
10 }
11 .region {
12 -webkit-flow-from: flow;
13 width: 200px;
14 height: 200px;
15 border: 2px solid green;
16 }
17 #region1 { shape-inside: rectangle(50px, 50px, 100px, 100px); }
18 #region2 {
19 margin-top: 10px;
20 border-bottom: 10px solid yellow;
21 shape-inside: rectangle(25px, 50px, 150px, 100px);
22 }
23 #border1 {
24 position: absolute;
25 top: 58px;
26 left: 58px;
27 width: 100px;
28 height: 100px;
29 border: 2px solid blue;
30 }
31 #border2 {
32 position: absolute;
33 top: 272px;
34 left: 33px;
35 width: 140px;
36 height: 100px;
37 border: 2px solid blue;
38 }
39 </style>
40 </head>
41 <body>
42 <div id="rectangle">
43 X X <p>X X X X X<p> X</p></p> X X X X<p> X X X X X X X X X X X
44 </div>
45
46 <div id="page">
47 <div id="border1"></div>
48 <div id="region1" class="region"></div>
49 <div id="border2"></div>
50 <div id="region2" class="region"></div>
51 </div>
52 <p style="margin-top: 50px;">Requires Ahem font. There are two regions with two ractangle shape-insides, the shape-insides are smaller and have top and left offsets inside the content box. The rectangular shapes boundaries are represent ed by the blue rectangles. The block content should flow inside the blue ractang les, the overflow should be pushed down below the last region's content box, it should start where the yellow border starts.</p>
53 <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>
54 </body>
55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698