RESOLVED FIXED 205067
[css-grid] Remove redundant grid.css files
https://bugs.webkit.org/show_bug.cgi?id=205067
Summary [css-grid] Remove redundant grid.css files
rmonteriso
Reported 2019-12-10 09:55:24 PST
Refer all grid layout tests to a single grid.css file, now located under css/support folder. Remove grid.css duplicates inside single test folders, and change path reference in all relative tests. See PR #20337: https://github.com/web-platform-tests/wpt/pull/20337/files
Attachments
Patch (200.18 KB, patch)
2019-12-10 10:11 PST, rmonteriso
no flags
Patch (200.52 KB, patch)
2019-12-10 10:42 PST, rmonteriso
no flags
Patch (119.64 KB, patch)
2019-12-13 05:17 PST, rmonteriso
no flags
Patch (126.85 KB, patch)
2019-12-16 05:07 PST, rmonteriso
no flags
Patch (125.12 KB, patch)
2019-12-16 05:57 PST, rmonteriso
no flags
Patch (125.13 KB, patch)
2019-12-17 04:25 PST, rmonteriso
no flags
rmonteriso
Comment 1 2019-12-10 10:11:25 PST
rmonteriso
Comment 2 2019-12-10 10:42:42 PST
Javier Fernandez
Comment 3 2019-12-10 14:09:20 PST
Comment on attachment 385284 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385284&action=review > LayoutTests/imported/w3c/ChangeLog:78 > + * web-platform-tests/css/css-grid/grid-items/grid-items-percentage-margins-003.html: Added. Better avoid adding new tests in this patch, as we are only changing the relative paths after removing the redundant resource files. > LayoutTests/imported/w3c/ChangeLog:4499 > + (#�): Be careful with these unexpected changes. Please, remove the from the patch. > LayoutTests/imported/w3c/ChangeLog:4507 > + (#�): Ditto > LayoutTests/imported/w3c/ChangeLog:4509 > + (#�): Ditto > LayoutTests/imported/w3c/web-platform-tests/css/css-grid/grid-definition/grid-template-columns-fit-content-001.html:-75 > - <div class="item">XXX</div> We should exclude these changes as well, since maybe they are part of the fix in the code that we are not landed yet.
rmonteriso
Comment 4 2019-12-13 05:17:24 PST
Manuel Rego Casasnovas
Comment 5 2019-12-13 05:32:35 PST
Comment on attachment 385593 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385593&action=review > LayoutTests/imported/w3c/ChangeLog:4464 > + (#?: Please avoid this change. > LayoutTests/imported/w3c/ChangeLog:4472 > + (#?: Ditto. > LayoutTests/imported/w3c/ChangeLog:4474 > + (#?: Ditto. > LayoutTests/imported/w3c/resources/import-expectations.json:84 > + "web-platform-tests/css/css-grid/grid-definition": "import", This line is not needed. Actually just one line would be good enough. It's not a problem that more are added but we don't need duplicated ones. You can either remove this one, or remove all the subfolder lines and just keep the main one like: "web-platform-tests/css/css-grid": "import",
rmonteriso
Comment 6 2019-12-16 05:07:18 PST
rmonteriso
Comment 7 2019-12-16 05:57:02 PST
Manuel Rego Casasnovas
Comment 8 2019-12-16 06:46:15 PST
Comment on attachment 385756 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=385756&action=review This one looks good, thanks. > LayoutTests/imported/w3c/ChangeLog:8 > + Reference all grid tests to a single grid.css inside and remove redundant grid.css files, inside the single test folders. Nit: Maybe rename this sentence to something like "Reference all grid tests to a single grid.css inside css/support/ and remove redundant grid.css files inside css/css-grid/ subfolders."
Manuel Rego Casasnovas
Comment 9 2019-12-16 06:46:24 PST
View in context: https://bugs.webkit.org/attachment.cgi?id=385756&action=review This one looks good, thanks. > LayoutTests/imported/w3c/ChangeLog:8 > + Reference all grid tests to a single grid.css inside and remove redundant grid.css files, inside the single test folders. Nit: Maybe rename this sentence to something like "Reference all grid tests to a single grid.css inside css/support/ and remove redundant grid.css files inside css/css-grid/ subfolders."
rmonteriso
Comment 10 2019-12-17 04:25:15 PST
Manuel Rego Casasnovas
Comment 11 2019-12-17 04:33:08 PST
Comment on attachment 385877 [details] Patch r=me, let's wait for EWSs before landing. Thanks.
Manuel Rego Casasnovas
Comment 12 2019-12-17 06:56:45 PST
Comment on attachment 385877 [details] Patch EWSs are green, so let's land this.
WebKit Commit Bot
Comment 13 2019-12-17 07:43:39 PST
Comment on attachment 385877 [details] Patch Clearing flags on attachment: 385877 Committed r253629: <https://trac.webkit.org/changeset/253629>
WebKit Commit Bot
Comment 14 2019-12-17 07:43:41 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 15 2019-12-17 07:44:26 PST
Note You need to log in before you can comment on or make changes to this bug.