Closed Bug 1475645 Opened 6 years ago Closed 6 years ago

Adjust sync-tests.sh script to unprefix "-moz-min-content" / "-moz-max-content" in w3c-submitted reftests

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox63 --- affected

People

(Reporter: dholbert, Assigned: morgan)

References

Details

Attachments

(1 file)

In bug 1474663, we'll be adding some reftests that use the "-moz-min-content" and "-moz-max-content" keywords (which we only support in their prefixed form, see bug 1322780). We'd like for sync-tests.sh to automatically unprefix those when submitting them upstream. Morgan, mind adjusting the sed command in sync-tests.sh to do this? (See the removed section in bug 1475385 for an example, and be sure you're basing your changes on top of that bug's patch, e.g. by pulling from autoland before starting to edit sync-tests.sh , or by waiting for that bug to be merged to central.)
Also, per bug 1475385 comment 7 / 8, it sounds like the most efficient thing to do here (to unblock the landing of your tests in bug 1474663 ASAP) is: (1) Wait for TYLin's changes (bug 1475385) to be sync'ed to the github wpt repo, here: https://github.com/web-platform-tests/wpt/blob/master/css/vendor-imports/mozilla/mozilla-central-reftests/sync-tests.sh (i.e. wait until that ^^ file doesn't have any mention of "column") (2) submit a pull request to that ^^ file on gitub (just using the web "pencil" editor if you like), to add sed replacement commands for -moz-min-content and -moz-max-content (3) After that pull request has been merged, we can close this bug and consider your tests on bug 1474663 landable. (i.e. at that point dbaron would be able to immediately synchronize them to a git clone of web-platform-tests, using his sync-tests.sh script in that clone, without any problems)
Okay, I'll wait for it to sync. I drafted the changes in mozreview already so should be a quick fix when it all gets updated.
The change looks good to me! For crafting the pull request (once TYLin's changes have synced), see earlier changes in https://github.com/web-platform-tests/wpt/commits/master/css/vendor-imports/mozilla/mozilla-central-reftests/sync-tests.sh -- looks like you won't need to bother with the "bug NNN: ... r=whoever" syntax. Just describe the change (though if you like you could include a link to this bug (w/ the full bugzilla.mozilla.org URL) in the body of the pull request)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: