Summary: | [css-grid] Import W3C Test Suite | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Manuel Rego Casasnovas <rego> | ||||||||
Component: | Tools / Tests | Assignee: | Manuel Rego Casasnovas <rego> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, jfernandez, lforschler, rego, svillar, youennf | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.chromium.org/p/chromium/issues/detail?id=687494 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 60731 | ||||||||||
Attachments: |
|
Description
Manuel Rego Casasnovas
2017-03-06 05:03:13 PST
I've started to work on this, but first I need to do a small change on the test suite: https://github.com/w3c/csswg-test/pull/1229 Created attachment 303512 [details]
Patch
So I've imported the test suite and uploaded the patch. Most of the tests are passing but there are a few failures for different reasons: * CSSOM serialization of grid shorthands (bug #149891) * min-content and max-content prefixes (bug #169195) * "normal" => "start" for replaced grid items (bug #169198) * Transferred size to calculate minimum size of grid items (bug #169197) As you can see there are bugs reported for each of them, so once they're solved the tests can be enabled on LayoutTestExpectations. Created attachment 303513 [details]
Current vs expected output for css-grid-1/grid-items/grid-items-sizing-alignment-001.html
Note that some tests return the following result (at least on Linux):
imported/w3c/csswg-test/css-grid-1/grid-items/grid-items-sizing-alignment-001.html -> ref test hashes didn't match but diff passed
This is wrong as you can see in the attached image, the test is clearly failing.
That's the reason why I'm marking them as Failures on the TestExpectation file.
Comment on attachment 303512 [details]
Patch
Great to see new tests being imported!
Would you also consider updating LayoutTests/imported/w3c/resources/import-expectations.json?
Basically change "csswg-test/css-grid-1"from "skip"to "import"
Created attachment 303515 [details]
Patch for landing
(In reply to comment #5) > Comment on attachment 303512 [details] > Patch > > Great to see new tests being imported! > > Would you also consider updating > LayoutTests/imported/w3c/resources/import-expectations.json? > Basically change "csswg-test/css-grid-1"from "skip"to "import" Sure, I didn't realize about that file. Thanks for the review. The commit-queue encountered the following flaky tests while processing attachment 303515 [details]: media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html bug 169158 (authors: graouts@apple.com and ryanhaddad@apple.com) The commit-queue is continuing to process your patch. Comment on attachment 303515 [details] Patch for landing Rejecting attachment 303515 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 303515, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: ilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 213452 = 953b0c214c392fbaebbe95de990f8e6884beab67 r213453 = 205886d5a99e99fb1e82259935b3d4ba39bf49c7 r213454 = 067c23f34156a76e5b625b9696c146943bc19252 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Total errors found: 0 in 1 files Full output: http://webkit-queues.webkit.org/results/3253311 Comment on attachment 303515 [details] Patch for landing Clearing flags on attachment: 303515 Committed r213457: <http://trac.webkit.org/changeset/213457> All reviewed patches have been landed. Closing bug. |