Diff
Modified: trunk/LayoutTests/ChangeLog (279938 => 279939)
--- trunk/LayoutTests/ChangeLog 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/ChangeLog 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,3 +1,13 @@
+2021-07-15 Ziran Sun <[email protected]>
+
+ Resync web-platform-tests/css/css-grid tests from upstream
+ https://bugs.webkit.org/show_bug.cgi?id=227901
+
+ Reviewed by Manuel Rego Casasnovas.
+
+ * TestExpectations:
+ * platform/ios-wk2/TestExpectations:
+
2021-07-14 Devin Rousso <[email protected]>
Implement Array.prototype.findLast and Array.prototype.findLastIndex
Modified: trunk/LayoutTests/TestExpectations (279938 => 279939)
--- trunk/LayoutTests/TestExpectations 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/TestExpectations 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1436,10 +1436,6 @@
imported/w3c/web-platform-tests/css/css-grid/abspos/orthogonal-positioned-grid-descendants-015.html [ Pass Failure ]
webkit.org/b/216146 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-align-001.html [ ImageOnlyFailure ]
webkit.org/b/216146 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-justify-001.html [ ImageOnlyFailure ]
-webkit.org/b/216145 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html [ ImageOnlyFailure ]
-webkit.org/b/216145 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html [ ImageOnlyFailure ]
-webkit.org/b/216145 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html [ ImageOnlyFailure ]
-webkit.org/b/216145 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/alignment/replaced-alignment-with-aspect-ratio-001.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/alignment/replaced-alignment-with-aspect-ratio-002.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/alignment/replaced-alignment-with-aspect-ratio-004.html [ ImageOnlyFailure ]
@@ -1458,7 +1454,7 @@
imported/w3c/web-platform-tests/css/css-grid/grid-items/aspect-ratio-004.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-001.html [ ImageOnlyFailure ]
-imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-009.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/flex-sizing-rows-indefinite-height.html [ ImageOnlyFailure ]
@@ -4297,6 +4293,10 @@
webkit.org/b/209460 imported/w3c/web-platform-tests/css/css-grid/abspos/descendant-static-position-002.html [ ImageOnlyFailure ]
webkit.org/b/209460 imported/w3c/web-platform-tests/css/css-grid/abspos/descendant-static-position-003.html [ ImageOnlyFailure ]
webkit.org/b/212201 imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-limits-001.html [ Skip ]
+webkit.org/b/227900 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html [ ImageOnlyFailure ]
+webkit.org/b/227900 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html [ ImageOnlyFailure ]
+webkit.org/b/227900 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html [ ImageOnlyFailure ]
+webkit.org/b/227900 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-baseline-align-cycles-001.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-001.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-content-baseline-002.html [ ImageOnlyFailure ]
@@ -4313,7 +4313,6 @@
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-001.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-002.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-003.html [ ImageOnlyFailure ]
-webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-001.html [ ImageOnlyFailure ]
webkit.org/b/212246 imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-overflow-padding-002.html [ ImageOnlyFailure ]
webkit.org/b/212267 imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-self-baseline-001.html [ Skip ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,3 +1,50 @@
+2021-07-15 Ziran Sun <[email protected]>
+
+ Resync web-platform-tests/css/css-grid tests from upstream
+ https://bugs.webkit.org/show_bug.cgi?id=227901
+
+ Reviewed by Manuel Rego Casasnovas.
+
+ * web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-003-expected.html:
+ * web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-004-expected.html:
+ * web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-003-expected.html:
+ * web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-004-expected.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4-expected.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html.
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10-expected.html: Removed.
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html:
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8-expected.html: Removed.
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html: Removed.
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9-expected.html: Removed.
+ * web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html: Removed.
+ * web-platform-tests/css/css-grid/alignment/w3c-import.log:
+ * web-platform-tests/css/css-grid/grid-item-percentage-quirk-001-expected.html: Removed.
+ * web-platform-tests/css/css-grid/grid-item-percentage-quirk-002-expected.html: Removed.
+ * web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002-expected.xht: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht.
+ * web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html.
+ * web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003-expected.xht: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht.
+ * web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html.
+ * web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins-expected.xht: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht.
+ * web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins.html: Added.
+ * web-platform-tests/css/css-grid/grid-items/w3c-import.log:
+ * web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004.html:
+ * web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html:
+ * web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm-expected.xht: Renamed from LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht.
+ * web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm.html: Added.
+ * web-platform-tests/css/css-grid/layout-algorithm/w3c-import.log:
+ * web-platform-tests/css/css-grid/w3c-import.log:
+
2021-07-14 Chris Dumez <[email protected]>
Fix type of exceptions thrown in the WebAudio API
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-003-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-003-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-003-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -37,10 +37,10 @@
}
.big .alignStart { margin-left: 24px; }
.big .alignCenter { margin-left: 11px; }
- .big .alignEnd { margin-left: -2px; }
+ .big .alignEnd { margin-left: 0px; }
.small .alignStart { margin-left: -4px; }
.small .alignCenter { margin-left: -3px; }
- .small .alignEnd { margin-left: -2px; }
+ .small .alignEnd { margin-left: 0px; }
</style>
</head>
<body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-004-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-004-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-align-self-vertWM-004-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -37,10 +37,10 @@
}
.big .alignStart { margin-left: 24px; }
.big .alignCenter { margin-left: 11px; }
- .big .alignEnd { margin-left: -2px; }
+ .big .alignEnd { margin-left: 0px; }
.small .alignStart { margin-left: -4px; }
.small .alignCenter { margin-left: -3px; }
- .small .alignEnd { margin-left: -2px; }
+ .small .alignEnd { margin-left: 0px; }
</style>
</head>
<body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-003-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-003-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-003-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -39,10 +39,10 @@
.big .alignStart { margin-top: 0px; }
.big .alignCenter { margin-top: 13px; }
- .big .alignEnd { margin-top: 26px; }
+ .big .alignEnd { margin-top: 24px; }
.small .alignStart { margin-top: 0px; }
.small .alignCenter { margin-top: -1px; }
- .small .alignEnd { margin-top: -2px; }
+ .small .alignEnd { margin-top: -4px; }
</style>
</head>
<body>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-004-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-004-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/abspos/grid-abspos-staticpos-justify-self-vertWM-004-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -39,10 +39,10 @@
.big .alignStart { margin-top: 0px; }
.big .alignCenter { margin-top: 13px; }
- .big .alignEnd { margin-top: 26px; }
+ .big .alignEnd { margin-top: 24px; }
.small .alignStart { margin-top: 0px; }
.small .alignCenter { margin-top: -1px; }
- .small .alignEnd { margin-top: -2px; }
+ .small .alignEnd { margin-top: -4px; }
</style>
</head>
<body>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1-expected.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,51 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Reference: stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-block;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ img {
+ display: block;
+ }
+
+ .justify {
+ width: 350px;
+ }
+ .align {
+ height: 250px;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img style="width:10px; height:20px">
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,52 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-grid;
+ grid-template: 100% / 100%;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ .justify {
+ justify-self: stretch;
+ }
+ .align {
+ align-self: stretch;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img>
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2-expected.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,51 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Reference: stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-block;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ img {
+ display: block;
+ }
+
+ .justify {
+ width: 350px;
+ }
+ .align {
+ height: 250px;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img style="width:20px; height:40px">
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,52 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-grid;
+ grid-template: 100% / 100%;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ .justify {
+ justify-self: stretch;
+ }
+ .align {
+ align-self: stretch;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img>
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3-expected.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,52 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Reference: stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-block;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ img {
+ display: block;
+ background: blue;
+ }
+
+ .justify {
+ width: 350px;
+ }
+ .align {
+ height: 250px;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img style="width:0px; height:20px">
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,53 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-grid;
+ grid-template: 100% / 100%;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+ img { background: blue; }
+
+ .justify {
+ justify-self: stretch;
+ }
+ .align {
+ align-self: stretch;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img>
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4-expected.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,52 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Reference: stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-block;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+
+ img {
+ display: block;
+ background: blue;
+ }
+
+ .justify {
+ width: 350px;
+ }
+ .align {
+ height: 250px;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img style="width:20px; height:0px">
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,53 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>stretching works for replaced items with a fallback aspect ratio</title>
+<link rel="author" title="Mats Palmgren" href=""
+<link rel="author" title="Mozilla" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<link rel="match" href=""
+<style>
+ body {
+ line-height: 0;
+ }
+
+ div {
+ display: inline-grid;
+ grid-template: 100% / 100%;
+ height: 250px;
+ width: 350px;
+ background: grey;
+ margin: 10px;
+ vertical-align: top;
+ }
+ img { background: blue; }
+
+ .justify {
+ justify-self: stretch;
+ }
+ .align {
+ align-self: stretch;
+ }
+</style>
+<div>
+ <img class="align justify">
+</div>
+<div>
+ <img class="align">
+</div>
+<div>
+ <img class="justify">
+</div>
+<div>
+ <img>
+</div>
+
+<script>
+var url = ''
+var imgs = document.querySelectorAll('img');
+for (var i = 0; i < imgs.length; ++i) {
+ var img = imgs[i];
+ img.src = ""
+}
+</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,27 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>Reference: stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-block;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-</style>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,50 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<link rel="help" href=""
-<link rel="help" href=""
-<link rel="match" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-grid;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-
- .justify {
- justify-self: stretch;
- }
- .align {
- align-self: stretch;
- }
-</style>
-<div>
- <img class="align justify">
-</div>
-<div>
- <img class="align">
-</div>
-<div>
- <img class="justify">
-</div>
-<div>
- <img>
-</div>
-
-<script>
-var url = ''
-var imgs = document.querySelectorAll('img');
-for (var i = 0; i < imgs.length; ++i) {
- var img = imgs[i];
- img.src = ""
-}
-</script>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -19,8 +19,8 @@
img {
display: block;
- width: 300px;
- height: 150px;
+ width: 0px;
+ height: 20px;
}
.justify {
@@ -34,17 +34,17 @@
<img class="align justify">
</div>
<div>
- <img class="align" style="width:10px">
+ <img class="align">
</div>
<div>
- <img class="justify" style="height:20px">
+ <img class="justify">
</div>
<div>
- <img style="width:10px; height:20px">
+ <img>
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-4.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -13,6 +13,7 @@
div {
display: inline-grid;
+ grid-template: 100% / 100%;
height: 250px;
width: 350px;
background: grey;
@@ -41,7 +42,7 @@
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -19,8 +19,8 @@
img {
display: block;
- width: 300px;
- height: 150px;
+ width: 20px;
+ height: 0px;
}
.justify {
@@ -34,17 +34,17 @@
<img class="align justify">
</div>
<div>
- <img class="align" style="width:20px">
+ <img class="align">
</div>
<div>
- <img class="justify" style="width:350px; height:40px">
+ <img class="justify">
</div>
<div>
- <img style="width:20px; height:40px">
+ <img>
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -13,6 +13,7 @@
div {
display: inline-grid;
+ grid-template: 100% / 100%;
height: 250px;
width: 350px;
background: grey;
@@ -41,7 +42,7 @@
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -19,9 +19,8 @@
img {
display: block;
- width: 300px;
- height: 150px;
- background: blue;
+ width: 0px;
+ height: 0px;
}
.justify {
@@ -35,17 +34,17 @@
<img class="align justify">
</div>
<div>
- <img class="align" style="width:0px">
+ <img class="align">
</div>
<div>
- <img class="justify" style="height:20px">
+ <img class="justify">
</div>
<div>
- <img style="width:0px; height:20px">
+ <img>
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -19,7 +19,6 @@
margin: 10px;
vertical-align: top;
}
- img { background: blue; }
.justify {
justify-self: stretch;
@@ -42,7 +41,7 @@
</div>
<script>
-var url = ''
+var url = ''
var imgs = document.querySelectorAll('img');
for (var i = 0; i < imgs.length; ++i) {
var img = imgs[i];
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,54 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>Reference: stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-block;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-
- img {
- display: block;
- width: 300px;
- height: 150px;
- background: blue;
- }
-
- .justify {
- width: 350px;
- }
- .align {
- height: 250px;
- }
-</style>
-<div>
- <img class="align justify">
-</div>
-<div>
- <img class="align" style="width:20px">
-</div>
-<div>
- <img class="justify" style="height:0px">
-</div>
-<div>
- <img style="width:20px; height:0px">
-</div>
-
-<script>
-var url = ''
-var imgs = document.querySelectorAll('img');
-for (var i = 0; i < imgs.length; ++i) {
- var img = imgs[i];
- img.src = ""
-}
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,51 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<link rel="help" href=""
-<link rel="help" href=""
-<link rel="match" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-grid;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
- img { background: blue; }
-
- .justify {
- justify-self: stretch;
- }
- .align {
- align-self: stretch;
- }
-</style>
-<div>
- <img class="align justify">
-</div>
-<div>
- <img class="align">
-</div>
-<div>
- <img class="justify">
-</div>
-<div>
- <img>
-</div>
-
-<script>
-var url = ''
-var imgs = document.querySelectorAll('img');
-for (var i = 0; i < imgs.length; ++i) {
- var img = imgs[i];
- img.src = ""
-}
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,27 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>Reference: stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-block;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-</style>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,50 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<link rel="help" href=""
-<link rel="help" href=""
-<link rel="match" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-grid;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-
- .justify {
- justify-self: stretch;
- }
- .align {
- align-self: stretch;
- }
-</style>
-<div>
- <img class="align justify">
-</div>
-<div>
- <img class="align">
-</div>
-<div>
- <img class="justify">
-</div>
-<div>
- <img>
-</div>
-
-<script>
-var url = ''
-var imgs = document.querySelectorAll('img');
-for (var i = 0; i < imgs.length; ++i) {
- var img = imgs[i];
- img.src = ""
-}
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9-expected.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9-expected.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9-expected.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,27 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>Reference: stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-block;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-</style>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
-<div>
-</div>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,50 +0,0 @@
-<!doctype html>
-<meta charset="utf-8">
-<title>stretching works for replaced items with no aspect ratio</title>
-<link rel="author" title="Mats Palmgren" href=""
-<link rel="author" title="Mozilla" href=""
-<link rel="help" href=""
-<link rel="help" href=""
-<link rel="match" href=""
-<style>
- body {
- line-height: 0;
- }
-
- div {
- display: inline-grid;
- height: 250px;
- width: 350px;
- background: grey;
- margin: 10px;
- vertical-align: top;
- }
-
- .justify {
- justify-self: stretch;
- }
- .align {
- align-self: stretch;
- }
-</style>
-<div>
- <img class="align justify">
-</div>
-<div>
- <img class="align">
-</div>
-<div>
- <img class="justify">
-</div>
-<div>
- <img>
-</div>
-
-<script>
-var url = ''
-var imgs = document.querySelectorAll('img');
-for (var i = 0; i < imgs.length; ++i) {
- var img = imgs[i];
- img.src = ""
-}
-</script>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/w3c-import.log (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/w3c-import.log 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/w3c-import.log 2021-07-15 08:42:07 UTC (rev 279939)
@@ -283,6 +283,14 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows-vertical-lr.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows-vertical-rl.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-alignment-with-orthogonal-flows.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-1.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-2.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-3.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-aspect-ratio-stretch-4.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-001-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-auto-margins-002-expected.xht
@@ -308,8 +316,6 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-mixed-baseline-004.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-1-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-1.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-10.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-2-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-2.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-3-expected.html
@@ -320,12 +326,6 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-5.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-6.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-7.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-8.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-no-aspect-ratio-stretch-9.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-self-baseline-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-item-self-baseline-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/alignment/grid-place-content-001.html
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002-expected.xht (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002-expected.xht (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 100px;
+ width: 100px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<link rel="match" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests the min-content contribution is re-resolved during a 2nd pass.">
+<!--
+
+"
+ Then, if the min-content contribution of any grid item has changed based on
+ the row sizes and alignment calculated in step 2, re-resolve the sizes of the
+ grid columns with the new min-content and max-content contributions (once
+ only).
+"
+
+In this testcase initially the row size is indefinite, then resolves to 100px.
+Using this information we re-resolve the columns, resulting in 100px for the
+first column.
+
+-->
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="display: grid; width: 0; grid-template: auto / auto auto;">
+ <div style="background: green; height: 100%;">
+ <canvas width="10" height="10" style="height: 100%;">
+ </div>
+ <div>
+ <div style="height: 100px;"></div>
+ </div>
+</div>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,19 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>CSS Reftest Reference</title>
- <link rel="author" title="Gérard Talbot" href="" />
- <style type="text/css"><![CDATA[
- div
- {
- background-color: green;
- height: 100px;
- width: 100px;
- }
- ]]></style>
- </head>
- <body>
- <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
- <div></div>
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<link rel="match" href=""
-<link rel="help" href=""
-<meta name="assert" content="Tests the min-content contribution is re-resolved during a 2nd pass.">
-<!--
-
-"
- Then, if the min-content contribution of any grid item has changed based on
- the row sizes and alignment calculated in step 2, re-resolve the sizes of the
- grid columns with the new min-content and max-content contributions (once
- only).
-"
-
-In this testcase initially the row size is indefinite, then resolves to 100px.
-Using this information we re-resolve the columns, resulting in 100px for the
-first column.
-
--->
-<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
-<div style="display: grid; width: 0; grid-template: auto / auto auto;">
- <div style="background: green; height: 100%;">
- <canvas width="10" height="10" style="height: 100%;">
- </div>
- <div>
- <div style="height: 100px;"></div>
- </div>
-</div>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003-expected.xht (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003-expected.xht (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 100px;
+ width: 100px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<link rel="match" href=""
+<link rel="help" href=""
+<link rel="help" href=""
+<meta name="assert" content="Tests the min-content contribution is re-resolved during a 2nd pass.">
+<!--
+
+"
+ Then, if the min-content contribution of any grid item has changed based on
+ the row sizes and alignment calculated in step 2, re-resolve the sizes of the
+ grid columns with the new min-content and max-content contributions (once
+ only).
+"
+
+In this testcase initially the row size is indefinite, then resolves to 100px.
+Using this information we re-resolve the columns, resulting in 100px for the
+first column.
+
+-->
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div style="display: grid; width: 0; grid-template: auto / auto auto;">
+ <div style="background: green;"> <!-- Has stretch alignment which the child should resolve against. -->
+ <canvas width="10" height="10" style="height: 100%;">
+ </div>
+ <div>
+ <div style="height: 100px;"></div>
+ </div>
+</div>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,19 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>CSS Reftest Reference</title>
- <link rel="author" title="Gérard Talbot" href="" />
- <style type="text/css"><![CDATA[
- div
- {
- background-color: green;
- height: 100px;
- width: 100px;
- }
- ]]></style>
- </head>
- <body>
- <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
- <div></div>
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<link rel="match" href=""
-<link rel="help" href=""
-<meta name="assert" content="Tests the min-content contribution is re-resolved during a 2nd pass.">
-<!--
-
-"
- Then, if the min-content contribution of any grid item has changed based on
- the row sizes and alignment calculated in step 2, re-resolve the sizes of the
- grid columns with the new min-content and max-content contributions (once
- only).
-"
-
-In this testcase initially the row size is indefinite, then resolves to 100px.
-Using this information we re-resolve the columns, resulting in 100px for the
-first column.
-
--->
-<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
-<div style="display: grid; width: 0; grid-template: auto / auto auto;">
- <div style="background: green;"> <!-- Has stretch alignment which the child should resolve against. -->
- <canvas width="10" height="10" style="height: 100%;">
- </div>
- <div>
- <div style="height: 100px;"></div>
- </div>
-</div>
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins-expected.xht (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins-expected.xht (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 100px;
+ width: 100px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins.html (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Grid Layout Test: Grid items contribution with negative margin</title>
+<link rel="help" href="" title="4 Grid Items">
+<meta name="assert" content="This test checks that grid items are properly placed with negative margin.">
+<link rel="match" href=""
+<style>
+ #grid {
+ background: red;
+ display: grid;
+ grid-auto-flow: column;
+ width: 100px;
+ height: 100px;
+ overflow: hidden;
+ }
+
+ #grid > div {
+ width: 100px;
+ height: 100px;
+ }
+</style>
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+
+<div id="grid">
+ <div style="background: blue; margin-left: -100px;"></div>
+ <div style="background: green;"></div>
+</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/w3c-import.log (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/w3c-import.log 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/w3c-import.log 2021-07-15 08:42:07 UTC (rev 279939)
@@ -93,10 +93,10 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-flex-container-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-001-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-001.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative-expected.xht
-/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.tentative.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002-expected.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003-expected.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-003.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-margins-and-writing-modes-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-margins-and-writing-modes-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-min-auto-size-001.html
@@ -120,6 +120,8 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-002.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-003-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-003.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins-expected.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-contribution-negative-margins.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-inline-blocks-001-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-inline-blocks-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-items-minimum-height-orthogonal-001.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-004.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -9,7 +9,7 @@
<link href="" rel="stylesheet">
<style>
.grid {
- grid: 100px / 100px;
+ grid: 100px / 100%;
width: 100px;
height: 100px;
overflow: auto;
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-areas-overflowing-grid-container-005.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -9,7 +9,7 @@
<link href="" rel="stylesheet">
<style>
.grid {
- grid: 100px / 100px;
+ grid: 100% / 100px;
width: 100px;
height: 100px;
overflow: auto;
Copied: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm-expected.xht (from rev 279938, trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative-expected.xht) (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm-expected.xht (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm-expected.xht 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Reftest Reference</title>
+ <link rel="author" title="Gérard Talbot" href="" />
+ <style type="text/css"><![CDATA[
+ div
+ {
+ background-color: green;
+ height: 100px;
+ width: 100px;
+ }
+ ]]></style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+ <div></div>
+ </body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm.html (0 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm.html 2021-07-15 08:42:07 UTC (rev 279939)
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Grid Layout Test: Restart the algorithm to find the size of an 'fr'</title>
+<link rel="author" title="Ethan Jimenez" href=""
+<link rel="help" href="" title="12.7.1. Find the Size of an 'fr'">
+<link rel="match" href=""
+<meta name="assert" content="If the product of the hypothetical fr size and a flexible track’s flex factor is less than the track’s base size, restart this algorithm treating all such tracks as inflexible.">
+<style>
+.grid {
+ width: 100px;
+ height: 100px;
+ background: red;
+
+ display: grid;
+ grid-template-rows: 1fr;
+ grid-template-columns: repeat(2, 0fr 1fr);
+}
+
+div > div { background: green }
+</style>
+<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+<div class="grid">
+ <div></div>
+ <div style="width: 30px"></div>
+ <div style="width: 50px"></div>
+ <div></div>
+</div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/w3c-import.log (279938 => 279939)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/w3c-import.log 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/w3c-import.log 2021-07-15 08:42:07 UTC (rev 279939)
@@ -55,6 +55,8 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-content-distribution-must-account-for-track-sizing-004.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-gutters-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-gutters-002.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm-expected.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-find-fr-size-restart-algorithm.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-fit-content-percentage.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-grid/layout-algorithm/grid-flex-track-intrinsic-sizes-002.html
Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (279938 => 279939)
--- trunk/LayoutTests/platform/ios-wk2/TestExpectations 2021-07-15 08:08:24 UTC (rev 279938)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2021-07-15 08:42:07 UTC (rev 279939)
@@ -1864,7 +1864,7 @@
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/aspect-ratio-001.html [ ImageOnlyFailure ]
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/aspect-ratio-002.html [ ImageOnlyFailure ]
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/aspect-ratio-003.html [ ImageOnlyFailure ]
-webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.tentative.html [ ImageOnlyFailure ]
+webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/grid-item-inline-contribution-002.html [ ImageOnlyFailure ]
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/replaced-element-011.html [ ImageOnlyFailure ]
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/replaced-element-012.html [ ImageOnlyFailure ]
webkit.org/b/227283 imported/w3c/web-platform-tests/css/css-grid/grid-items/replaced-element-013.html [ ImageOnlyFailure ]