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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-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
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.internals) 5 if (window.internals)
6 window.internals.settings.setCSSExclusionsEnabled(true); 6 window.internals.settings.setCSSExclusionsEnabled(true);
7 </script> 7 </script>
8 <style> 8 <style>
9 #page { font: 16px Ahem, sans-serif; } 9 #page { font: 16px Ahem, sans-serif; }
10 10
11 #region1 { 11 #region1 {
12 width: 180px; 12 width: 180px;
13 height: 100px; 13 height: 100px;
14 -webkit-shape-inside: rectangle(0, 0, 130px, 100px); 14 -webkit-shape-inside: rectangle(0, 0, 130px, 100px);
15 margin-top: 10px; 15 margin-top: 10px;
16 } 16 }
17 #region2 { 17 #region2 {
18 width: 300px; 18 width: 300px;
19 height: 145px; 19 height: 150px;
20 -webkit-shape-inside: rectangle(0, 0, 220px, 150px); 20 -webkit-shape-inside: rectangle(0, 0, 220px, 150px);
21 margin-top: 60px; 21 margin-top: 60px;
22 } 22 }
23 #region3 { 23 #region3 {
24 width: 300px; 24 width: 300px;
25 height: 50px; 25 height: 50px;
26 margin-top: 60px; 26 margin-top: 60px;
27 } 27 }
28 </style> 28 </style>
29 </head> 29 </head>
(...skipping 13 matching lines...) Expand all
43 <p>X X</p> 43 <p>X X</p>
44 <p style="color: red"> X X X X X X X X X</p> 44 <p style="color: red"> X X X X X X X X X</p>
45 </div> 45 </div>
46 </div> 46 </div>
47 47
48 <p>Requires Ahem font. Two different -shape-inside property are applied to t he first and second region. The third region is a simple region without -shape-i nside. 48 <p>Requires Ahem font. Two different -shape-inside property are applied to t he first and second region. The third region is a simple region without -shape-i nside.
49 The rectangles should flow through the regions and the shape-insides should be applied to the first two regions.</p> 49 The rectangles should flow through the regions and the shape-insides should be applied to the first two regions.</p>
50 <p> Bug <a href="http://webkit.org/b/107880">107880</a>: Regions should resp ect shape-inside</p> 50 <p> Bug <a href="http://webkit.org/b/107880">107880</a>: Regions should resp ect shape-inside</p>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698