Changeset 149857 in webkit
- Timestamp:
- May 9, 2013 5:12:25 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r149856 r149857 1 2013-05-09 Zoltan Horvath <zoltan@webkit.org> 2 3 [Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r148975 4 https://bugs.webkit.org/show_bug.cgi?id=115053 5 6 Reviewed by Alexandru Chiculita. 7 8 I changed the tests to use Ahem font (overflow will be the same on every port) and modify the markup in order to be the similar 9 for the two tests. The change fixes both tests and make them passing on Qt as well. I removed the tests from the TestExpectations. 10 11 * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: 12 * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: 13 * fast/exclusions/shape-inside/shape-inside-percentage-expected.html: 14 * fast/exclusions/shape-inside/shape-inside-percentage.html: 15 * platform/qt/TestExpectations: 16 1 17 2013-05-09 Yael Aharon <yael.aharon@intel.com> 2 18 -
trunk/LayoutTests/fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html
r148975 r149857 3 3 <head> 4 4 <style> 5 #shape-inside { 5 #container { 6 font: 20px Ahem, sans-serif; 7 line-height: 20px; 6 8 border: 2px solid blue; 7 9 position: relative; 8 10 width: 200px; 9 11 height: 200px; 10 line-height: 20px;12 margin-bottom: 60px; 11 13 } 12 14 #border { 13 15 position: absolute; 14 left: 58px;16 left: 48px; 15 17 width: 100px; 16 18 height: 40px; … … 24 26 </head> 25 27 <body> 26 <div id="border"></div> 27 <div id="shape-inside"> 28 <div class="spacer" style="float:left"></div> 29 <div class="spacer" style="float:right"></div> 30 This text should wrap 31 <div style="padding-top: 162px;"> 32 inside the green rectangle, and overflow should wrap outside the blue rectangle. 28 <div id="container"> 29 <div id="border"></div> 30 <div id="shape-inside"> 31 <div class="spacer" style="float:left"></div> 32 <div class="spacer" style="float:right"></div> 33 X X X X X X 34 </div> 35 <div style="padding-top: 160px;"> 36 X X X X X X X X X X 37 </div> 33 38 </div> 34 </div> 39 <p>Requires Ahem font. The content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box (content-box's margin is blue). <br/> 40 <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> 35 41 </body> 36 42 </html> -
trunk/LayoutTests/fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html
r148975 r149857 7 7 </script> 8 8 <style> 9 #shape-inside { 9 #container { 10 font: 20px Ahem, sans-serif; 11 line-height: 20px; 10 12 border: 2px solid blue; 11 13 position: relative; 12 14 width: 200px; 13 15 height: 200px; 14 line-height: 20px;15 16 -webkit-shape-inside: rectangle(50px, 0px, 100px, 45px); 17 margin-bottom: 60px; 18 } 19 #shape-inside { 20 width: 200px; 21 height: 200px; 22 -webkit-shape-inside: rectangle(50px, 0px, 100px, 50px); 16 23 } 17 24 #border { 18 25 position: absolute; 19 left: 58px;26 left: 48px; 20 27 width: 100px; 21 28 height: 40px; … … 25 32 </head> 26 33 <body> 27 <div id="border"></div> 28 <div id="shape-inside"> 29 This text should wrap inside the green rectangle, and overflow should wrap 30 outside the blue rectangle. 31 </div> 34 <div id="container"> 35 <div id="border"></div> 36 <div id="shape-inside"> 37 X X X X X X X X X X X X X X X X 38 </div> 39 </div> 40 <p>Requires Ahem font. The content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box (content-box's margin is blue). <br/> 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> 32 42 </body> 33 43 </html> -
trunk/LayoutTests/fast/exclusions/shape-inside/shape-inside-percentage-expected.html
r148975 r149857 4 4 <style> 5 5 #container { 6 font: 20px Ahem, sans-serif; 7 line-height: 20px; 6 8 border: 2px solid blue; 7 9 position: relative; 8 10 width: 200px; 9 11 height: 200px; 12 margin-bottom: 60px; 10 13 } 11 14 #border { … … 28 31 <div class="spacer" style="float:left"></div> 29 32 <div class="spacer" style="float:right"></div> 30 This text should wrap31 <div style="padding-top: 164px;">32 inside the green rectangle, and overflow should wrap outside the blue rectangle.33 </div>33 X X X X X X 34 </div> 35 <div style="padding-top: 160px;"> 36 X X X X X X X X X X 34 37 </div> 35 38 </div> 39 <p>Requires Ahem font. The content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box (content-box's margin is blue). <br/> 40 <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> 36 41 </body> 37 42 </html> -
trunk/LayoutTests/fast/exclusions/shape-inside/shape-inside-percentage.html
r148975 r149857 8 8 <style> 9 9 #container { 10 font: 20px Ahem, sans-serif; 11 line-height: 20px; 10 12 border: 2px solid blue; 11 13 position: relative; 12 14 width: 200px; 13 15 height: 200px; 16 margin-bottom: 60px; 14 17 } 15 18 #shape-inside { … … 31 34 <div id="border"></div> 32 35 <div id="shape-inside"> 33 This text should wrap inside the green rectangle, and overflow should wrap 34 outside the blue rectangle. 36 X X X X X X X X X X X X X X X X 35 37 </div> 36 38 </div> 39 <p>Requires Ahem font. The content should start inside the green rectangle (shape-inside) and the overflow should be pushed below the content box (content-box's margin is blue). <br/> 40 <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> 37 41 </body> 38 42 </html> -
trunk/LayoutTests/platform/qt/TestExpectations
r149802 r149857 1509 1509 fast/css/square-button-appearance.html 1510 1510 1511 # [Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r1489751512 # https://bugs.webkit.org/show_bug.cgi?id=1150531513 fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html1514 fast/exclusions/shape-inside/shape-inside-percentage.html1515 1511 fast/exclusions/shape-inside/shape-inside-polygon-layout.html 1516 1512
Note: See TracChangeset
for help on using the changeset viewer.