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

Side by Side Diff: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-polygon-with-adjustment.html

Issue 60873002: Removing the -webkit prefix from CSS Regions-Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 #content { 9 #content {
10 -webkit-flow-into: flow; 10 -webkit-flow-into: flow;
(...skipping 10 matching lines...) Expand all
21 margin-top: 10px; 21 margin-top: 10px;
22 } 22 }
23 .region2 { 23 .region2 {
24 -webkit-flow-from: flow; 24 -webkit-flow-from: flow;
25 width: 400px; 25 width: 400px;
26 height: 400px; 26 height: 400px;
27 border: 15px solid black; 27 border: 15px solid black;
28 border-top: 30px solid green; 28 border-top: 30px solid green;
29 border-left: 0px; /* FIXME: Content gets extra left offset when there i s left-border on the content box: http://webkit.org/b/117573 */ 29 border-left: 0px; /* FIXME: Content gets extra left offset when there i s left-border on the content box: http://webkit.org/b/117573 */
30 margin-top: 10px; 30 margin-top: 10px;
31 -webkit-shape-inside: polygon(30px 30px, 380px 380px, 10px 380px); 31 shape-inside: polygon(30px 30px, 380px 380px, 10px 380px);
32 } 32 }
33 </style> 33 </style>
34 </head> 34 </head>
35 <body> 35 <body>
36 <div class="region1"></div> 36 <div class="region1"></div>
37 <div class="region2"></div> 37 <div class="region2"></div>
38 38
39 <div id="content"> 39 <div id="content">
40 The Culture and <p>the Idiran <p>Empire</p> are </p>at war in a galaxy-spanning conflict. Horza, a mercenary <p>capable of altering his appearance</p>at will <p >(a Changer),</p> is assigned the task of retrieving a dispossessed Culture Mind by his Idiran handlers. 40 The Culture and <p>the Idiran <p>Empire</p> are </p>at war in a galaxy-spanning conflict. Horza, a mercenary <p>capable of altering his appearance</p>at will <p >(a Changer),</p> is assigned the task of retrieving a dispossessed Culture Mind by his Idiran handlers.
41 </div> 41 </div>
42 42
43 <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> 43 <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>
44 <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> 44 <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>
45 45
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698