Changeset 152904 in webkit
- Timestamp:
- Jul 19, 2013 10:40:53 AM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r152902 r152904 1 2013-07-19 Zoltan Horvath <zoltan@webkit.org> 2 3 [CSS Shapes][CSS Regions] Modify existing tests to test overflow also when padding is applied on the container 4 https://bugs.webkit.org/show_bug.cgi?id=117881 5 6 Reviewed by David Hyatt. 7 8 Currently, we don't have tests which test the overflow behavior when there is padding applied on the container. 9 I modified the existing tests to cover these cases as well and increase our test coverage. 10 11 * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: 12 * fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html: 13 * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes-expected.html: 14 * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html: 15 * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes-expected.html: 16 * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html: 17 1 18 2013-07-19 Frédéric Wang <fred.wang@free.fr> 2 19 -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes-expected.html
r151570 r152904 11 11 height: 200px; 12 12 border: 2px solid green; 13 padding: 10px; 13 14 } 14 15 #region2 { margin-top: 10px; } 15 16 #border1 { 16 17 position: absolute; 17 top: 1 08px;18 left: 58px;18 top: 118px; 19 left: 68px; 19 20 width: 100px; 20 21 height: 100px; … … 23 24 #border2 { 24 25 position: absolute; 25 top: 3 22px;26 left: 33px;26 top: 352px; 27 left: 43px; 27 28 width: 140px; 28 29 height: 100px; … … 31 32 #overflow { 32 33 width: 200px; 33 margin-left: 2px;34 margin-top: - 2px;34 margin-left: 12px; 35 margin-top: -12px; 35 36 } 36 37 </style> … … 44 45 <div id="overflow">X X X X X X X</div> 45 46 </div> 46 <p style="margin-top: 12px;">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 represented by the blue rectangles. The block content should flow inside the blue ractangles, the overflow should be pushed down below the last region's contentbox.</p>47 <p style="margin-top: 22px;">Requires Ahem font. There are two regions (10px padding is applied to the 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 represented by the blue rectangles. The block content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box, which means the overflow should start just below the last regions's shape, 10px above the green border box.</p> 47 48 <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> 48 49 </body> -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-bottom-positioned-multiple-shapes.html
r151570 r152904 17 17 height: 200px; 18 18 border: 2px solid green; 19 padding: 10px; 19 20 } 20 21 #region1 { -webkit-shape-inside: rectangle(50px, 100px, 100px, 100px); } … … 25 26 #border1 { 26 27 position: absolute; 27 top: 1 08px;28 left: 58px;28 top: 118px; 29 left: 68px; 29 30 width: 100px; 30 31 height: 100px; … … 33 34 #border2 { 34 35 position: absolute; 35 top: 3 22px;36 left: 33px;36 top: 352px; 37 left: 43px; 37 38 width: 140px; 38 39 height: 100px; … … 52 53 <div id="region2" class="region"></div> 53 54 </div> 54 <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 represented by the blue rectangles. The block content should flow inside the blue ractangles, the overflow should be pushed down below the last region's contentbox.</p>55 <p style="margin-top: 50px;">Requires Ahem font. There are two regions (10px padding is applied to the 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 represented by the blue rectangles. The block content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box, which means the overflow should start just below the last regions's shape, 10px above the green border box.</p> 55 56 <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> 56 57 </body> -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes-expected.html
r151570 r152904 11 11 height: 200px; 12 12 border: 2px solid green; 13 padding: 10px; 13 14 } 14 15 #region2 { margin-top: 10px; } 15 16 #border1 { 16 17 position: absolute; 17 top: 1 08px;18 left: 58px;18 top: 118px; 19 left: 68px; 19 20 width: 100px; 20 21 height: 100px; … … 23 24 #border2 { 24 25 position: absolute; 25 top: 3 22px;26 left: 33px;26 top: 352px; 27 left: 43px; 27 28 width: 140px; 28 29 height: 100px; … … 31 32 #overflow { 32 33 width: 200px; 33 margin-left: 2px;34 margin-top: - 2px;34 margin-left: 12px; 35 margin-top: -12px; 35 36 } 36 37 </style> … … 44 45 <div id="overflow">X X X X X X X</div> 45 46 </div> 46 <p style="margin-top: 12px;">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 represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box</p>47 <p style="margin-top: 22px;">Requires Ahem font. There are two regions (10px padding is applied to the 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 represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box, which means the overflow should start just below the last regions's shape, 10px above the green border box.</p> 47 48 <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> 48 49 </body> -
trunk/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-bottom-positioned-multiple-shapes.html
r151570 r152904 17 17 height: 200px; 18 18 border: 2px solid green; 19 padding: 10px; 19 20 } 20 21 #region1 { -webkit-shape-inside: rectangle(50px, 100px, 100px, 100px); } … … 25 26 #border1 { 26 27 position: absolute; 27 top: 1 08px;28 left: 58px;28 top: 118px; 29 left: 68px; 29 30 width: 100px; 30 31 height: 100px; … … 33 34 #border2 { 34 35 position: absolute; 35 top: 3 22px;36 left: 33px;36 top: 352px; 37 left: 43px; 37 38 width: 140px; 38 39 height: 100px; … … 52 53 <div id="region2" class="region"></div> 53 54 </div> 54 <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 represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box</p>55 <p style="margin-top: 50px;">Requires Ahem font. There are two regions (10px padding is applied to the 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 represented by the blue rectangles. The inline content should flow inside the blue ractangles, the overflow should be pushed down below the last region's content box, which means the overflow should start just below the last regions's shape, 10px above the green border box.</p> 55 56 <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> 56 57 </body> -
trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html
r152800 r152904 6 6 font: 20px Ahem, sans-serif; 7 7 line-height: 20px; 8 border: 2px solid blue;9 border-bottom: 30px solid yellow;10 8 position: relative; 9 border-bottom: 55px solid yellow; 11 10 width: 200px; 12 11 height: 200px; 13 margin-bottom: 60px; 12 } 13 #shape-inside { 14 background-color: green; 15 padding-top: 15px; 16 padding-bottom: 10px; 17 height: 200px; 14 18 } 15 19 #border { 16 20 position: absolute; 17 margin-top: -2px;21 margin-top: 13px; 18 22 left: 48px; 19 23 width: 100px; 20 24 height: 40px; 21 border: 2px solid green;25 border: 2px solid blue; 22 26 } 23 27 .spacer { … … 35 39 X X X X X X 36 40 </div> 37 <div style=" padding-top: 160px;">41 <div style="margin-top: -10px"> 38 42 X X X X X X X X X X 39 43 </div> 40 44 </div> 41 <p>Requires Ahem font. The inline content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box. The overflow should start where the yellow bottom border starts. <br/>45 <p>Requires Ahem font. The inline content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box. The overflow should start 10px above the yellow bottom border. <br/> 42 46 <p>Bug <a href="http://webkit.org/b/114526">114526</a>: [CSS Exclusions] shape-inside overflow should be pushed to the outside of the content box</p> 43 47 </body> -
trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-overflow-fixed-dimensions.html
r152800 r152904 10 10 font: 20px Ahem, sans-serif; 11 11 line-height: 20px; 12 border: 2px solid blue;13 border-bottom: 30px solid yellow;14 12 position: relative; 15 width: 200px;16 height: 200px;17 margin-bottom: 60px;18 13 } 19 14 #shape-inside { 20 15 width: 200px; 21 16 height: 200px; 17 background-color: green; 22 18 border-bottom: 30px solid yellow; 19 padding-top: 15px; 20 padding-bottom: 10px; 23 21 -webkit-shape-inside: rectangle(50px, 0px, 100px, 50px); 24 22 } 25 23 #border { 26 24 position: absolute; 27 margin-top: -2px;25 margin-top: 13px; 28 26 left: 48px; 29 27 width: 100px; 30 28 height: 40px; 31 border: 2px solid green;29 border: 2px solid blue; 32 30 } 33 31 </style> … … 40 38 </div> 41 39 </div> 42 <p>Requires Ahem font. The inline content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box. The overflow should start where the yellow bottom border starts. <br/>40 <p>Requires Ahem font. The inline content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box. The overflow should start 10px above the yellow bottom border. <br/> 43 41 <p>Bug <a href="http://webkit.org/b/114526">114526</a>: [CSS Exclusions] shape-inside overflow should be pushed to the outside of the content box</p> 44 42 </body>
Note: See TracChangeset
for help on using the changeset viewer.