Changeset 159344 in webkit
- Timestamp:
- Nov 15, 2013 10:06:11 AM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r159341 r159344 1 2013-11-15 Zoltan Horvath <zoltan@webkit.org> 2 3 [CSS Shapes][CSS Regions] Simplify shape-inside-on-multiple-regions-with-negative-shape-top.html 4 https://bugs.webkit.org/show_bug.cgi?id=123808 5 6 Reviewed by Mihnea Ovidenie. 7 8 Use a rectangle instead of a complex polygon in the test. 9 10 * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top-expected.html: 11 * fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top.html: 12 1 13 2013-11-15 Michał Pakuła vel Rutka <m.pakula@samsung.com> 2 14 -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top-expected.html
r158219 r159344 3 3 <head> 4 4 <style> 5 article { font: 10pxAhem, sans-serif; }5 article { font: 20px/1 Ahem, sans-serif; } 6 6 .regions { 7 7 width: 260px; 8 height: 200px; 8 9 margin: 0px 20px 20px; 9 padding: 7px;10 10 background-color: #b0dcff; 11 -webkit-shape-inside: polygon(20px -62px, 314px -62px, 314px 152px, 44px 152px); 12 height: 200px; 11 -webkit-shape-inside: rectangle(10px, -20px, 100%, 50%); 13 12 } 14 13 .overflow { 15 margin-top: - 34px;14 margin-top: -20px; 16 15 margin-left: 20px; 17 padding: 7px;18 16 } 19 17 </style> … … 22 20 <article> 23 21 <div class="regions"> 24 <p> 25 CSS Pseudo-elements is a new proposal by Adobe to the W3C that allows multiple "before" and "after" pseudo-elements to be generated by a single element. 26 In this example you can see how another region (the blue one) is added after the page is loaded and the CSSRegions object is 22 X X X X X X X X X X X X X X X X X X X X X X X X 27 23 </div> 28 24 <div class="regions"> 29 created. 30 <a href="http://example.org">This is a very long link!</a> 31 </p> 32 <p> 33 Multiple pseudo-elements cover use cases collected on css-tricks.com. 34 </p> 35 <p> 36 This is a prototype JavaScript implementation to give you a feel for how the code will look like and behave. Please keep in mind that 25 X X X X X X X X X X X X X X X X X X X X X X X X 37 26 </div> 38 27 <div class="overflow"> 39 this is just... . . .28 X X X X X 40 29 </div> 41 30 </article> 42 <p style="margin-top: 30px">43 We have two regions, a polygon shape with negative top coordinates is applied on the regions. The content should flow from the first shape to the second shape. The overflow should 44 be pushed down below the content box.31 <p style="margin-top: 20px"> 32 Requires Ahem font. We have two regions, a rectangle shape with negative top coordinate and 10px left offset is applied on the regions. 33 The content should flow from the first shape to the second shape. The overflow should be pushed down below the content box. 45 34 </p> 46 <p>Bug <a href="http://webkit.org/b/123 103">123103</a>: [CSS Shapes][CSS Regions] Don't apply shape-inside when we have multiple auto-height regions and the height is not resolved</p>35 <p>Bug <a href="http://webkit.org/b/123346">123346</a>: [CSS Shapes][CSS Regions] Don't apply shape-inside when we have multiple auto-height regions and the height is not resolved</p> 47 36 </body> 48 37 </html> -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-multiple-regions-with-negative-shape-top.html
r158219 r159344 4 4 <style> 5 5 #source { 6 font: 10pxAhem, sans-serif;6 font: 20px/1 Ahem, sans-serif; 7 7 -webkit-flow-into: article; 8 8 } … … 10 10 -webkit-flow-from: article; 11 11 width: 260px; 12 height: 200px; 12 13 margin: 0px 20px 20px; 13 padding: 7px;14 14 background-color: #b0dcff; 15 -webkit-shape-inside: polygon(20px -62px, 314px -62px, 314px 152px, 44px 152px); 16 height: 200px; 15 -webkit-shape-inside: rectangle(10px, -20px, 100%, 50%); 17 16 } 18 19 17 </style> 20 18 </head> … … 25 23 </article> 26 24 <div id="source"> 27 <p> 28 CSS Pseudo-elements is a new proposal by Adobe to the W3C that allows multiple "before" and "after" pseudo-elements to be generated by a single element. 29 In this example you can see how another region (the blue one) is added after the page is loaded and the CSSRegions object is created. 30 <a href="http://example.org">This is a very long link!</a> 31 </p> 32 <p> 33 Multiple pseudo-elements cover use cases collected on css-tricks.com. 34 </p> 35 <p> 36 This is a prototype JavaScript implementation to give you a feel for how the code will look like and behave. Please keep in mind that this is just... . . . 37 </p> 25 X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X 38 26 </div> 39 27 40 28 <p style="margin-top: 40px;"> 41 We have two regions, a polygon shape with negative top coordinates is applied on the regions. The content should flow from the first shape to the second shape. The overflow should 42 be pushed down below the content box.29 Requires Ahem font. We have two regions, a rectangle shape with negative top coordinate and 10px left offset is applied on the regions. 30 The content should flow from the first shape to the second shape. The overflow should be pushed down below the content box. 43 31 </p> 44 <p>Bug <a href="http://webkit.org/b/123 103">123103</a>: [CSS Shapes][CSS Regions] Don't apply shape-inside when we have multiple auto-height regions and the height is not resolved</p>32 <p>Bug <a href="http://webkit.org/b/123346">123346</a>: [CSS Shapes][CSS Regions] Don't apply shape-inside when we have multiple auto-height regions and the height is not resolved</p> 45 33 </body> 46 34 </html>
Note: See TracChangeset
for help on using the changeset viewer.