Changeset 256445 in webkit
- Timestamp:
- Feb 12, 2020 10:03:55 AM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 added
- 3 deleted
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r256441 r256445 1 2020-02-12 Rossana Monteriso <rmonteriso@igalia.com> 2 3 [css-grid] Move grid-item-auto-margins-alignment tests to WPT folder 4 https://bugs.webkit.org/show_bug.cgi?id=207534 5 6 Reviewed by Javier Fernandez. 7 8 Remove grid-item-auto-margins-alignment tests and their expected.txt files. These tests 9 are being replaced by adapted tests in the corresponding WPT test folder. 10 11 * fast/css-grid-layout/grid-item-auto-margins-alignment-expected.txt: Removed. 12 * fast/css-grid-layout/grid-item-auto-margins-alignment-vertical-lr-expected.txt: Removed. 13 * fast/css-grid-layout/grid-item-auto-margins-alignment-vertical-rl-expected.txt: Removed. 14 * fast/css-grid-layout/grid-item-auto-margins-alignment.html: Removed. 15 * fast/css-grid-layout/grid-item-auto-margins-alignment-vertical-lr.html: Removed. 16 * fast/css-grid-layout/grid-item-auto-margins-alignment-vertical-rl.html: Removed. 17 1 18 2020-02-12 Jacob Uphoff <jacob_uphoff@apple.com> 2 19 -
trunk/LayoutTests/imported/w3c/ChangeLog
r256381 r256445 1 2020-02-12 Rossana Monteriso <rmonteriso@igalia.com> 2 3 [css-grid] Move grid-item-auto-margins-alignment tests to WPT folder 4 https://bugs.webkit.org/show_bug.cgi?id=207534 5 6 Reviewed by Javier Fernandez. 7 8 Add grid-item-auto-margins-alignment tests, checked and adapted to WPT, with their expected.txt files. 9 Imported to WPT with this PR: https://github.com/web-platform-tests/wpt/pull/21509 10 11 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-expected.txt: 12 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-lr-expected.txt: 13 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-lr.html: 14 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-rl-expected.txt: 15 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-rl.html: 16 * web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment.html: 17 1 18 2020-02-11 Youenn Fablet <youenn@apple.com> 2 19 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-lr.html
r256444 r256445 1 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet"> 5 <link href="resources/grid.css" rel="stylesheet"> 6 <link href="resources/grid-alignment.css" rel="stylesheet"> 7 <script src="../../resources/check-layout.js"></script> 2 <meta charset="utf-8"> 3 <title>CSS Grid Layout test: align-self and justify-self with auto margins, vertical-lr</title> 4 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-grid/#auto-margins"> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-items"> 7 <meta name="assert" content="This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied, both for LTR and RTL directions, vertical-lr writing mode."> 8 <meta name="flags" content="ahem"> 9 <link rel="stylesheet" href="/css/support/grid.css"> 10 <link rel="stylesheet" href="/css/support/alignment.css"> 11 <link rel="stylesheet" href="/css/support/width-keyword-classes.css"> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 8 14 <style> 9 body {10 margin: 0;11 }12 13 15 .grid { 14 16 grid-template-columns: 100px 100px; … … 28 30 .autoMargin { margin: auto; } 29 31 </style> 30 </head> 32 33 <script src="/resources/testharness.js"></script> 34 <script src="/resources/testharnessreport.js"></script> 35 <script src="/resources/check-layout-th.js"></script> 36 31 37 <body onload="checkLayout('.grid')"> 32 38 33 <p>This test checks that ali ng-self and justify-self properties are not applied when there is auto-margin in the correponding axis. Instead, auto-margin alignment should be applied.</p>39 <p>This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p> 34 40 35 <p>Direction: LTR | Self Alig mment: center | fixed size items | 1 auto-margin</p>41 <p>Direction: LTR | Self Alignment: center | fixed size items | 1 auto-margin</p> 36 42 <div style="position: relative"> 37 43 <div class="grid fit-content verticalLR itemsCenter"> … … 43 49 </div> 44 50 45 <p>Direction: LTR | Self Alig mment: start | fixed size items | 4 auto-margin</p>51 <p>Direction: LTR | Self Alignment: start | fixed size items | 4 auto-margin</p> 46 52 <div style="position: relative"> 47 53 <div class="grid fit-content verticalLR"> … … 53 59 </div> 54 60 55 <p>Direction: LTR | Self Alig mment: center | auto size items | 1 auto-margin</p>61 <p>Direction: LTR | Self Alignment: center | auto size items | 1 auto-margin</p> 56 62 <div style="position: relative"> 57 63 <div class="grid fit-content verticalLR itemsCenter"> … … 63 69 </div> 64 70 65 <p>Direction: LTR | Self Alig mment: start | auto size items | 4 auto-margin</p>71 <p>Direction: LTR | Self Alignment: start | auto size items | 4 auto-margin</p> 66 72 <div style="position: relative"> 67 73 <div class="grid fit-content verticalLR"> … … 74 80 75 81 <!-- direction RTL --> 76 <p>Direction: RTL | Self Alig mment: center | fixed size items | 1 auto-margin</p>82 <p>Direction: RTL | Self Alignment: center | fixed size items | 1 auto-margin</p> 77 83 <div style="position: relative"> 78 84 <div class="grid fit-content verticalLR itemsCenter directionRTL"> … … 85 91 86 92 87 <p>Direction: RTL | Self Alig mment: start | fixed size items | 4 auto-margin</p>93 <p>Direction: RTL | Self Alignment: start | fixed size items | 4 auto-margin</p> 88 94 <div style="position: relative"> 89 95 <div class="grid fit-content verticalLR directionRTL"> … … 95 101 </div> 96 102 97 <p>Direction: RTL | Self Alig mment: center | auto size items | 1 auto-margin</p>103 <p>Direction: RTL | Self Alignment: center | auto size items | 1 auto-margin</p> 98 104 <div style="position: relative"> 99 105 <div class="grid fit-content verticalLR itemsCenter directionRTL"> … … 106 112 107 113 108 <p>Direction: RTL | Self Alig mment: start | auto size items | 4 auto-margin</p>114 <p>Direction: RTL | Self Alignment: start | auto size items | 4 auto-margin</p> 109 115 <div style="position: relative"> 110 116 <div class="grid fit-content verticalLR directionRTL"> … … 117 123 118 124 </body> 119 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment-vertical-rl.html
r256444 r256445 1 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet"> 5 <link href="resources/grid.css" rel="stylesheet"> 6 <link href="resources/grid-alignment.css" rel="stylesheet"> 7 <script src="../../resources/check-layout.js"></script> 2 <meta charset="utf-8"> 3 <title>CSS Grid Layout test: align-self and justify-self with auto margins, vertical-rl</title> 4 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-grid/#auto-margins"> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-items"> 7 <meta name="assert" content="This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied, both for LTR and RTL directions, vertical-rl writing mode."> 8 <meta name="flags" content="ahem"> 9 <link rel="stylesheet" href="/css/support/grid.css"> 10 <link rel="stylesheet" href="/css/support/alignment.css"> 11 <link rel="stylesheet" href="/css/support/width-keyword-classes.css"> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 8 14 <style> 9 body {10 margin: 0;11 }12 13 15 .grid { 14 16 grid-template-columns: 100px 100px; … … 28 30 .autoMargin { margin: auto; } 29 31 </style> 30 </head> 32 33 <script src="/resources/testharness.js"></script> 34 <script src="/resources/testharnessreport.js"></script> 35 <script src="/resources/check-layout-th.js"></script> 36 31 37 <body onload="checkLayout('.grid')"> 32 38 33 <p>This test checks that ali ng-self and justify-self properties are not applied when there is auto-margin in the correponding axis. Instead, auto-margin alignment should be applied.</p>39 <p>This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p> 34 40 35 <p>Direction: LTR | Self Alig mment: center | fixed size items | 1 auto-margin</p>41 <p>Direction: LTR | Self Alignment: center | fixed size items | 1 auto-margin</p> 36 42 <div style="position: relative"> 37 43 <div class="grid fit-content verticalRL itemsCenter"> … … 43 49 </div> 44 50 45 <p>Direction: LTR | Self Alig mment: start | fixed size items | 4 auto-margin</p>51 <p>Direction: LTR | Self Alignment: start | fixed size items | 4 auto-margin</p> 46 52 <div style="position: relative"> 47 53 <div class="grid fit-content verticalRL"> … … 53 59 </div> 54 60 55 <p>Direction: LTR | Self Alig mment: center | auto size items | 1 auto-margin</p>61 <p>Direction: LTR | Self Alignment: center | auto size items | 1 auto-margin</p> 56 62 <div style="position: relative"> 57 63 <div class="grid fit-content verticalRL itemsCenter"> … … 63 69 </div> 64 70 65 <p>Direction: LTR | Self Alig mment: start | auto size items | 4 auto-margin</p>71 <p>Direction: LTR | Self Alignment: start | auto size items | 4 auto-margin</p> 66 72 <div style="position: relative"> 67 73 <div class="grid fit-content verticalRL"> … … 74 80 75 81 <!-- direction RTL --> 76 <p>Direction: RTL | Self Alig mment: center | fixed size items | 1 auto-margin</p>82 <p>Direction: RTL | Self Alignment: center | fixed size items | 1 auto-margin</p> 77 83 <div style="position: relative"> 78 84 <div class="grid fit-content verticalRL itemsCenter directionRTL"> … … 85 91 86 92 87 <p>Direction: RTL | Self Alig mment: start | fixed size items | 4 auto-margin</p>93 <p>Direction: RTL | Self Alignment: start | fixed size items | 4 auto-margin</p> 88 94 <div style="position: relative"> 89 95 <div class="grid fit-content verticalRL directionRTL"> … … 95 101 </div> 96 102 97 <p>Direction: RTL | Self Alig mment: center | auto size items | 1 auto-margin</p>103 <p>Direction: RTL | Self Alignment: center | auto size items | 1 auto-margin</p> 98 104 <div style="position: relative"> 99 105 <div class="grid fit-content verticalRL itemsCenter directionRTL"> … … 106 112 107 113 108 <p>Direction: RTL | Self Alig mment: start | auto size items | 4 auto-margin</p>114 <p>Direction: RTL | Self Alignment: start | auto size items | 4 auto-margin</p> 109 115 <div style="position: relative"> 110 116 <div class="grid verticalRL directionRTL" data-expected-width="400" data-expected-height="200"> … … 117 123 118 124 </body> 119 </html> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-alignment.html
r256444 r256445 1 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet"> 5 <link href="resources/grid.css" rel="stylesheet"> 6 <link href="resources/grid-alignment.css" rel="stylesheet"> 7 <script src="../../resources/check-layout.js"></script> 2 <meta charset="utf-8"> 3 <title>CSS Grid Layout test: align-self and justify-self with auto margins</title> 4 <link rel="author" title="Rossana Monteriso" href="mailto:rmonteriso@igalia.com"> 5 <link rel="help" href="https://drafts.csswg.org/css-grid/#auto-margins"> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-items"> 7 <meta name="assert" content="This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied, both for LTR and RTL directions."> 8 <meta name="flags" content="ahem"> 9 <link rel="stylesheet" href="/css/support/grid.css"> 10 <link rel="stylesheet" href="/css/support/alignment.css"> 11 <link rel="stylesheet" href="/css/support/width-keyword-classes.css"> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 8 14 <style> 9 body {10 margin: 0;11 }12 13 15 .grid { 14 16 grid-template-columns: 100px 100px; … … 28 30 .autoMargin { margin: auto; } 29 31 </style> 30 </head> 32 33 <script src="/resources/testharness.js"></script> 34 <script src="/resources/testharnessreport.js"></script> 35 <script src="/resources/check-layout-th.js"></script> 36 31 37 <body onload="checkLayout('.grid')"> 32 38 33 <p>This test checks that ali ng-self and justify-self properties are not applied when there is auto-margin in the correponding axis. Instead, auto-margin alignment should be applied.</p>39 <p>This test checks that align-self and justify-self properties are not applied when there is auto-margin in the corresponding axis. Instead, auto-margin alignment should be applied.</p> 34 40 35 <p>Direction: LTR | Self Alig mment: center | fixed size items | 1 auto-margin</p>41 <p>Direction: LTR | Self Alignment: center | fixed size items | 1 auto-margin</p> 36 42 <div style="position: relative"> 37 43 <div class="grid fit-content itemsCenter"> … … 43 49 </div> 44 50 45 <p>Direction: LTR | Self Alig mment: start | fixed size items | 4 auto-margin</p>51 <p>Direction: LTR | Self Alignment: start | fixed size items | 4 auto-margin</p> 46 52 <div style="position: relative"> 47 53 <div class="grid fit-content"> … … 53 59 </div> 54 60 55 <p>Direction: LTR | Self Alig mment: center | auto size items | 1 auto-margin</p>61 <p>Direction: LTR | Self Alignment: center | auto size items | 1 auto-margin</p> 56 62 <div style="position: relative"> 57 63 <div class="grid fit-content itemsCenter"> … … 63 69 </div> 64 70 65 <p>Direction: LTR | Self Alig mment: start | auto size items | 4 auto-margin</p>71 <p>Direction: LTR | Self Alignment: start | auto size items | 4 auto-margin</p> 66 72 <div style="position: relative"> 67 73 <div class="grid fit-content"> … … 74 80 75 81 <!-- direction RTL --> 76 <p>Direction: RTL | Self Alig mment: center | fixed size items | 1 auto-margin</p>82 <p>Direction: RTL | Self Alignment: center | fixed size items | 1 auto-margin</p> 77 83 <div style="position: relative"> 78 84 <div class="grid fit-content itemsCenter directionRTL"> … … 84 90 </div> 85 91 86 <p>Direction: RTL | Self Alig mment: start | fixed size items | 4 auto-margin</p>92 <p>Direction: RTL | Self Alignment: start | fixed size items | 4 auto-margin</p> 87 93 <div style="position: relative"> 88 94 <div class="grid fit-content directionRTL"> … … 94 100 </div> 95 101 96 <p>Direction: RTL | Self Alig mment: center | auto size items | 1 auto-margin</p>102 <p>Direction: RTL | Self Alignment: center | auto size items | 1 auto-margin</p> 97 103 <div style="position: relative"> 98 104 <div class="grid fit-content itemsCenter directionRTL"> … … 104 110 </div> 105 111 106 <p>Direction: RTL | Self Alig mment: start | auto size items | 4 auto-margin</p>112 <p>Direction: RTL | Self Alignment: start | auto size items | 4 auto-margin</p> 107 113 <div style="position: relative"> 108 114 <div class="grid fit-content directionRTL"> … … 115 121 116 122 </body> 117 </html>
Note: See TracChangeset
for help on using the changeset viewer.