Changeset 254816 in webkit
- Timestamp:
- Jan 20, 2020 1:49:34 AM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r254814 r254816 1 2020-01-20 Rossana Monteriso <rmonteriso@igalia.com> 2 3 [css-grid] Import grid-align-content-distribution tests to WebKit 4 https://bugs.webkit.org/show_bug.cgi?id=205926 5 6 Reviewed by Javier Fernandez. 7 8 Remove align-content-distribution tests that are being replaced by newer tests, adapted to the WPT project and imported 9 to the corresponding css-grid folder inside WebKit. 10 11 * fast/css-grid-layout/grid-align-content-distribution-expected.txt: Removed. 12 * fast/css-grid-layout/grid-align-content-distribution-vertical-lr-expected.txt: Removed. 13 * fast/css-grid-layout/grid-align-content-distribution-vertical-rl-expected.txt: Removed. 14 * fast/css-grid-layout/grid-align-content-distribution.html: Removed. 15 * fast/css-grid-layout/grid-align-content-distribution-vertical-lr.html: Removed. 16 * fast/css-grid-layout/grid-align-content-distribution-vertical-rl.html: Removed. 17 18 1 19 2020-01-20 youenn fablet <youenn@apple.com> 2 20 -
trunk/LayoutTests/imported/w3c/ChangeLog
r254807 r254816 1 2020-01-20 Rossana Monteriso <rmonteriso@igalia.com> 2 3 [css-grid] Import grid-align-content-distribution tests to WebKit 4 https://bugs.webkit.org/show_bug.cgi?id=205926 5 6 Reviewed by Javier Fernandez. 7 8 Add align-content-distribution tests, checked and adapted to the WPT project, 9 to the css-grid/alignment folder for imported tests inside WebKit. 10 11 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-expected.txt: 12 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-lr-expected.txt: 13 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-rl-expected.txt: 14 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-lr.html: 15 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-rl.html: 16 * web-platform-tests/css/css-grid/alignment/grid-align-content-distribution.html: 17 1 18 2020-01-19 Cathie Chen <cathiechen@igalia.com> 2 19 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-expected.txt
r254815 r254816 3 3 direction: LTR | align-content: 'space-between' 4 4 5 PASS6 5 direction: LTR | align-content: 'space-around' 7 6 8 PASS9 7 direction: LTR | align-content: 'space-evenly' 10 8 11 PASS12 9 direction: LTR | align-content: 'stretch' 13 10 14 PASS15 11 direction: LTR | align-content: 'space-between' 16 12 17 PASS18 13 direction: LTR | align-content: 'space-around' 19 14 20 PASS21 15 direction: LTR | align-content: 'space-evenly' 22 16 23 PASS24 17 direction: LTR | align-content: 'stretch' 25 18 26 PASS27 19 direction: LTR | align-content: 'space-between' 28 20 29 PASS30 21 direction: LTR | align-content: 'space-around' 31 22 32 PASS33 23 direction: LTR | align-content: 'space-evenly' 34 24 35 PASS36 25 direction: LTR | align-content: 'stretch' 37 26 38 PASS39 27 direction: RTL | align-content: 'space-between' 40 28 41 PASS42 29 direction: RTL | align-content: 'space-around' 43 30 44 PASS45 31 direction: RTL | align-content: 'space-evenly' 46 32 47 PASS48 33 direction: RTL | align-content: 'stretch' 49 34 50 PASS51 35 direction: RTL | align-content: 'space-between' 52 36 53 PASS54 37 direction: RTL | align-content: 'space-around' 55 38 56 PASS57 39 direction: RTL | align-content: 'space-evenly' 58 40 59 PASS60 41 direction: RTL | align-content: 'stretch' 61 42 62 PASS63 43 direction: RTL | align-content: 'space-between' 64 44 65 PASS66 45 direction: RTL | align-content: 'space-around' 67 46 68 PASS69 47 direction: RTL | align-content: 'space-evenly' 70 48 71 PASS72 49 direction: RTL | align-content: 'stretch' 73 50 74 PASS 51 52 PASS .grid 1 53 PASS .grid 2 54 PASS .grid 3 55 PASS .grid 4 56 PASS .grid 5 57 PASS .grid 6 58 PASS .grid 7 59 PASS .grid 8 60 PASS .grid 9 61 PASS .grid 10 62 PASS .grid 11 63 PASS .grid 12 64 PASS .grid 13 65 PASS .grid 14 66 PASS .grid 15 67 PASS .grid 16 68 PASS .grid 17 69 PASS .grid 18 70 PASS .grid 19 71 PASS .grid 20 72 PASS .grid 21 73 PASS .grid 22 74 PASS .grid 23 75 PASS .grid 24 76 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-lr-expected.txt
r254815 r254816 1 This test checks that the align-content property is applied correctly when using content-distribution values .1 This test checks that the align-content property is applied correctly when using content-distribution values in vertical-lr writing mode. 2 2 3 3 direction: LTR | align-content: 'space-between' 4 4 5 PASS6 5 direction: LTR | align-content: 'space-around' 7 6 8 PASS9 7 direction: LTR | align-content: 'space-evenly' 10 8 11 PASS12 9 direction: LTR | align-content: 'stretch' 13 10 14 PASS15 11 direction: LTR | align-content: 'space-between' 16 12 17 PASS18 13 direction: LTR | align-content: 'space-around' 19 14 20 PASS21 15 direction: LTR | align-content: 'space-evenly' 22 16 23 PASS24 17 direction: LTR | align-content: 'stretch' 25 18 26 PASS27 19 direction: LTR | align-content: 'space-between' 28 20 29 PASS30 21 direction: LTR | align-content: 'space-around' 31 22 32 PASS33 23 direction: LTR | align-content: 'space-evenly' 34 24 35 PASS36 25 direction: LTR | align-content: 'stretch' 37 26 38 PASS39 27 direction: RTL | align-content: 'space-between' 40 28 41 PASS42 29 direction: RTL | align-content: 'space-around' 43 30 44 PASS45 31 direction: RTL | align-content: 'space-evenly' 46 32 47 PASS48 33 direction: RTL | align-content: 'stretch' 49 34 50 PASS51 35 direction: RTL | align-content: 'space-between' 52 36 53 PASS54 37 direction: RTL | align-content: 'space-around' 55 38 56 PASS57 39 direction: RTL | align-content: 'space-evenly' 58 40 59 PASS60 41 direction: RTL | align-content: 'stretch' 61 42 62 PASS63 43 direction: RTL | align-content: 'space-between' 64 44 65 PASS66 45 direction: RTL | align-content: 'space-around' 67 46 68 PASS69 47 direction: RTL | align-content: 'space-evenly' 70 48 71 PASS72 49 direction: RTL | align-content: 'stretch' 73 50 74 PASS 51 52 PASS .grid 1 53 PASS .grid 2 54 PASS .grid 3 55 PASS .grid 4 56 PASS .grid 5 57 PASS .grid 6 58 PASS .grid 7 59 PASS .grid 8 60 PASS .grid 9 61 PASS .grid 10 62 PASS .grid 11 63 PASS .grid 12 64 PASS .grid 13 65 PASS .grid 14 66 PASS .grid 15 67 PASS .grid 16 68 PASS .grid 17 69 PASS .grid 18 70 PASS .grid 19 71 PASS .grid 20 72 PASS .grid 21 73 PASS .grid 22 74 PASS .grid 23 75 PASS .grid 24 76 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-lr.html
r254815 r254816 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="resources/grid.css" rel="stylesheet"> 5 <script src="../../resources/check-layout.js"></script> 1 <meta charset="utf-8"> 2 <title>CSS Grid Layout Test: aligned content distribution for vertical lr</title> 3 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 4 <link rel="help" href="https://drafts.csswg.org/css-align-3/#distribution-values"> 5 <meta name="assert" content="This test checks that the align-content property is applied correctly when using content-distribution values for the vertical-lr writing mode."> 6 <meta name="flags" content="ahem"> 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <link rel="stylesheet" href="/css/support/grid.css"> 9 <link rel="stylesheet" href="/css/support/alignment.css"> 10 6 11 <style> 7 body {8 margin: 0px;9 }10 12 11 13 .grid { … … 21 23 } 22 24 23 .alignContentSpaceBetween { 24 align-content: space-between; 25 } 26 27 .alignContentSpaceAround { 28 align-content: space-around; 29 } 30 31 .alignContentSpaceEvenly { 32 align-content: space-evenly; 33 } 34 35 .alignContentStretch { 36 align-content: stretch; 37 } 25 .width300height400 { 26 width: 300px; 27 height: 400px; 28 } 29 30 .thirdRowFirstColumn { 31 background-color: green; 32 grid-column: 1; 33 grid-row: 3; 34 } 35 36 .fourthRowFirstColumn { 37 background-color: deepskyblue; 38 grid-column: 1; 39 grid-row: 4; 40 } 41 42 .fourthRowSecondColumn { 43 background-color: maroon; 44 grid-column: 2; 45 grid-row: 4; 46 } 47 48 .thirdRowFirstColumn { 49 background-color: green; 50 grid-column: 1; 51 grid-row: 3; 52 } 53 54 .fourthRowFirstColumn { 55 background-color: deepskyblue; 56 grid-column: 1; 57 grid-row: 4; 58 } 59 60 .fourthRowSecondColumn { 61 background-color: maroon; 62 grid-column: 2; 63 grid-row: 4; 64 } 65 38 66 </style> 39 </head> 67 68 <script src="/resources/testharness.js"></script> 69 <script src="/resources/testharnessreport.js"></script> 70 <script src="/resources/check-layout-th.js"></script> 71 40 72 <body onload="checkLayout('.grid')"> 41 73 42 <p>This test checks that the align-content property is applied correctly when using content-distribution values .</p>74 <p>This test checks that the align-content property is applied correctly when using content-distribution values in vertical-lr writing mode.</p> 43 75 44 76 <div style="position: relative"> … … 120 152 <div style="position: relative"> 121 153 <p>direction: LTR | align-content: 'stretch'</p> 122 <div class="grid stretchedGrid alignContentStretch verticalLR" data-expected-width="400" data-expected-height="300">123 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="1 33" data-expected-height="20"></div>124 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" data-expected-width="1 33" data-expected-height="20"></div>125 <div class="secondRowFirstColumn" data-offset-x="1 33" data-offset-y="0" data-expected-width="133" data-expected-height="20"></div>126 <div class="secondRowSecondColumn" data-offset-x="1 33" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div>127 <div class="thirdRowFirstColumn" data-offset-x="2 67" data-offset-y="0" data-expected-width="133" data-expected-height="20"></div>128 <div class="thirdRowSecondColumn" data-offset-x="2 67" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div>154 <div class="grid stretchedGrid width300height400 alignContentStretch verticalLR" data-expected-width="300" data-expected-height="400"> 155 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 156 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 157 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 158 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 159 <div class="thirdRowFirstColumn" data-offset-x="200" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 160 <div class="thirdRowSecondColumn" data-offset-x="200" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 129 161 </div> 130 162 </div> … … 265 297 <div style="position: relative"> 266 298 <p>direction: RTL | align-content: 'stretch'</p> 267 <div class="grid stretchedGrid alignContentStretch verticalLR directionRTL" data-expected-width="400" data-expected-height="300">268 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y=" 280" data-expected-width="133" data-expected-height="20"></div>269 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y=" 260" data-expected-width="133" data-expected-height="20"></div>270 <div class="secondRowFirstColumn" data-offset-x="1 33" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div>271 <div class="secondRowSecondColumn" data-offset-x="1 33" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div>272 <div class="thirdRowFirstColumn" data-offset-x="2 67" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div>273 <div class="thirdRowSecondColumn" data-offset-x="2 67" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div>299 <div class="grid stretchedGrid width300height400 alignContentStretch verticalLR directionRTL" data-expected-width="300" data-expected-height="400"> 300 <div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 301 <div class="firstRowSecondColumn" data-offset-x="0" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 302 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 303 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 304 <div class="thirdRowFirstColumn" data-offset-x="200" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 305 <div class="thirdRowSecondColumn" data-offset-x="200" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 274 306 </div> 275 307 </div> … … 331 363 </div> 332 364 </body> 333 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-rl-expected.txt
r254815 r254816 1 This test checks that the align-content property is applied correctly when using content-distribution values .1 This test checks that the align-content property is applied correctly when using content-distribution values for vertical-rl mode. 2 2 3 3 direction: LTR | align-content: 'space-between' 4 4 5 PASS6 5 direction: LTR | align-content: 'space-around' 7 6 8 PASS9 7 direction: LTR | align-content: 'space-evenly' 10 8 11 PASS12 9 direction: LTR | align-content: 'stretch' 13 10 14 PASS15 11 direction: LTR | align-content: 'space-between' 16 12 17 PASS18 13 direction: LTR | align-content: 'space-around' 19 14 20 PASS21 15 direction: LTR | align-content: 'space-evenly' 22 16 23 PASS24 17 direction: LTR | align-content: 'stretch' 25 18 26 PASS27 19 direction: LTR | align-content: 'space-between' 28 20 29 PASS30 21 direction: LTR | align-content: 'space-around' 31 22 32 PASS33 23 direction: LTR | align-content: 'space-evenly' 34 24 35 PASS36 25 direction: LTR | align-content: 'stretch' 37 26 38 PASS39 27 direction: RTL | align-content: 'space-between' 40 28 41 PASS42 29 direction: RTL | align-content: 'space-around' 43 30 44 PASS45 31 direction: RTL | align-content: 'space-evenly' 46 32 47 PASS48 33 direction: RTL | align-content: 'stretch' 49 34 50 PASS51 35 direction: RTL | align-content: 'space-between' 52 36 53 PASS54 37 direction: RTL | align-content: 'space-around' 55 38 56 PASS57 39 direction: RTL | align-content: 'space-evenly' 58 40 59 PASS60 41 direction: RTL | align-content: 'stretch' 61 42 62 PASS63 43 direction: RTL | align-content: 'space-between' 64 44 65 PASS66 45 direction: RTL | align-content: 'space-around' 67 46 68 PASS69 47 direction: RTL | align-content: 'space-evenly' 70 48 71 PASS72 49 direction: RTL | align-content: 'stretch' 73 50 74 PASS 51 52 PASS .grid 1 53 PASS .grid 2 54 PASS .grid 3 55 PASS .grid 4 56 PASS .grid 5 57 PASS .grid 6 58 PASS .grid 7 59 PASS .grid 8 60 PASS .grid 9 61 PASS .grid 10 62 PASS .grid 11 63 PASS .grid 12 64 PASS .grid 13 65 PASS .grid 14 66 PASS .grid 15 67 PASS .grid 16 68 PASS .grid 17 69 PASS .grid 18 70 PASS .grid 19 71 PASS .grid 20 72 PASS .grid 21 73 PASS .grid 22 74 PASS .grid 23 75 PASS .grid 24 76 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution-vertical-rl.html
r254815 r254816 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="resources/grid.css" rel="stylesheet"> 5 <script src="../../resources/check-layout.js"></script> 1 <meta charset="utf-8"> 2 <title>CSS Grid Layout Test: aligned content distribution for vertical rl</title> 3 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 4 <link rel="help" href="https://drafts.csswg.org/css-align-3/#distribution-values"> 5 <meta name="assert" content="This test checks that the align-content property is applied correctly when using content-distribution values for the vertical-rl writing mode."> 6 <meta name="flags" content="ahem"> 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <link rel="stylesheet" href="/css/support/grid.css"> 9 <link rel="stylesheet" href="/css/support/alignment.css"> 10 6 11 <style> 7 body {8 margin: 0px;9 }10 12 11 13 .grid { … … 21 23 } 22 24 23 .alignContentSpaceBetween { 24 align-content: space-between; 25 } 26 27 .alignContentSpaceAround { 28 align-content: space-around; 29 } 30 31 .alignContentSpaceEvenly { 32 align-content: space-evenly; 33 } 34 35 .alignContentStretch { 36 align-content: stretch; 37 } 25 .width300height400 { 26 width: 300px; 27 height: 400px; 28 } 29 30 .thirdRowFirstColumn { 31 background-color: green; 32 grid-column: 1; 33 grid-row: 3; 34 } 35 36 .fourthRowFirstColumn { 37 background-color: deepskyblue; 38 grid-column: 1; 39 grid-row: 4; 40 } 41 42 .fourthRowSecondColumn { 43 background-color: maroon; 44 grid-column: 2; 45 grid-row: 4; 46 } 47 48 .thirdRowFirstColumn { 49 background-color: green; 50 grid-column: 1; 51 grid-row: 3; 52 } 53 54 .fourthRowFirstColumn { 55 background-color: deepskyblue; 56 grid-column: 1; 57 grid-row: 4; 58 } 59 60 .fourthRowSecondColumn { 61 background-color: maroon; 62 grid-column: 2; 63 grid-row: 4; 64 } 65 38 66 </style> 39 </head> 67 68 <script src="/resources/testharness.js"></script> 69 <script src="/resources/testharnessreport.js"></script> 70 <script src="/resources/check-layout-th.js"></script> 71 40 72 <body onload="checkLayout('.grid')"> 41 73 42 <p>This test checks that the align-content property is applied correctly when using content-distribution values .</p>74 <p>This test checks that the align-content property is applied correctly when using content-distribution values for vertical-rl mode.</p> 43 75 44 76 <div style="position: relative"> … … 120 152 <div style="position: relative"> 121 153 <p>direction: LTR | align-content: 'stretch'</p> 122 <div class="grid stretchedGrid alignContentStretch verticalRL" data-expected-width="400" data-expected-height="300">123 <div class="firstRowFirstColumn" data-offset-x="2 67" data-offset-y="0" data-expected-width="133" data-expected-height="20"></div>124 <div class="firstRowSecondColumn" data-offset-x="2 67" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div>125 <div class="secondRowFirstColumn" data-offset-x="1 33" data-offset-y="0" data-expected-width="133" data-expected-height="20"></div>126 <div class="secondRowSecondColumn" data-offset-x="1 33" data-offset-y="20" data-expected-width="133" data-expected-height="20"></div>127 <div class="thirdRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="1 33" data-expected-height="20"></div>128 <div class="thirdRowSecondColumn" data-offset-x="0" data-offset-y="20" data-expected-width="1 33" data-expected-height="20"></div>154 <div class="grid stretchedGrid width300height400 alignContentStretch verticalRL" data-expected-width="300" data-expected-height="400"> 155 <div class="firstRowFirstColumn" data-offset-x="200" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 156 <div class="firstRowSecondColumn" data-offset-x="200" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 157 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 158 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 159 <div class="thirdRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="100" data-expected-height="20"></div> 160 <div class="thirdRowSecondColumn" data-offset-x="0" data-offset-y="20" data-expected-width="100" data-expected-height="20"></div> 129 161 </div> 130 162 </div> … … 265 297 <div style="position: relative"> 266 298 <p>direction: RTL | align-content: 'stretch'</p> 267 <div class="grid stretchedGrid alignContentStretch verticalRL directionRTL" data-expected-width="400" data-expected-height="300">268 <div class="firstRowFirstColumn" data-offset-x="2 67" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div>269 <div class="firstRowSecondColumn" data-offset-x="2 67" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div>270 <div class="secondRowFirstColumn" data-offset-x="1 33" data-offset-y="280" data-expected-width="133" data-expected-height="20"></div>271 <div class="secondRowSecondColumn" data-offset-x="1 33" data-offset-y="260" data-expected-width="133" data-expected-height="20"></div>272 <div class="thirdRowFirstColumn" data-offset-x="0" data-offset-y=" 280" data-expected-width="133" data-expected-height="20"></div>273 <div class="thirdRowSecondColumn" data-offset-x="0" data-offset-y=" 260" data-expected-width="133" data-expected-height="20"></div>299 <div class="grid stretchedGrid width300height400 alignContentStretch verticalRL directionRTL" data-expected-width="300" data-expected-height="400"> 300 <div class="firstRowFirstColumn" data-offset-x="200" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 301 <div class="firstRowSecondColumn" data-offset-x="200" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 302 <div class="secondRowFirstColumn" data-offset-x="100" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 303 <div class="secondRowSecondColumn" data-offset-x="100" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 304 <div class="thirdRowFirstColumn" data-offset-x="0" data-offset-y="380" data-expected-width="100" data-expected-height="20"></div> 305 <div class="thirdRowSecondColumn" data-offset-x="0" data-offset-y="360" data-expected-width="100" data-expected-height="20"></div> 274 306 </div> 275 307 </div> … … 331 363 </div> 332 364 </body> 333 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-align-content-distribution.html
r254815 r254816 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="resources/grid.css" rel="stylesheet"> 5 <script src="../../resources/check-layout.js"></script> 1 <meta charset="utf-8"> 2 <title>CSS Grid Layout Test: aligned content distribution</title> 3 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 4 <link rel="help" href="https://drafts.csswg.org/css-align-3/#distribution-values"> 5 <meta name="assert" content="This test checks that the align-content property is applied correctly when using content-distribution values."> 6 <meta name="flags" content="ahem"> 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <link rel="stylesheet" href="/css/support/grid.css"> 9 <link rel="stylesheet" href="/css/support/alignment.css"> 10 6 11 <style> 7 body {8 margin: 0px;9 }10 12 11 13 .grid { … … 21 23 } 22 24 23 .alignContentSpaceBetween { 24 align-content: space-between; 25 } 26 27 .alignContentSpaceAround { 28 align-content: space-around; 29 } 30 31 .alignContentSpaceEvenly { 32 align-content: space-evenly; 33 } 34 35 .alignContentStretch { 36 align-content: stretch; 37 } 25 .thirdRowFirstColumn { 26 background-color: green; 27 grid-column: 1; 28 grid-row: 3; 29 } 30 31 .fourthRowFirstColumn { 32 background-color: deepskyblue; 33 grid-column: 1; 34 grid-row: 4; 35 } 36 37 .fourthRowSecondColumn { 38 background-color: maroon; 39 grid-column: 2; 40 grid-row: 4; 41 } 42 43 .thirdRowFirstColumn { 44 background-color: green; 45 grid-column: 1; 46 grid-row: 3; 47 } 48 49 .fourthRowFirstColumn { 50 background-color: deepskyblue; 51 grid-column: 1; 52 grid-row: 4; 53 } 54 55 .fourthRowSecondColumn { 56 background-color: maroon; 57 grid-column: 2; 58 grid-row: 4; 59 } 60 38 61 </style> 39 </head> 62 63 <script src="/resources/testharness.js"></script> 64 <script src="/resources/testharnessreport.js"></script> 65 <script src="/resources/check-layout-th.js"></script> 66 40 67 <body onload="checkLayout('.grid')"> 41 68 … … 331 358 </div> 332 359 </body> 333 </html>
Note: See TracChangeset
for help on using the changeset viewer.