Bug 172705 - [css-align] Import W3C web platform tests for the CSS Box Alignment feature
Summary: [css-align] Import W3C web platform tests for the CSS Box Alignment feature
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Javier Fernandez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-05-30 04:55 PDT by Javier Fernandez
Modified: 2017-05-30 20:18 PDT (History)
5 users (show)

See Also:


Attachments
Patch (128.12 KB, patch)
2017-05-30 05:10 PDT, Javier Fernandez
no flags Details | Formatted Diff | Diff
Patch (127.16 KB, patch)
2017-05-30 13:29 PDT, Javier Fernandez
no flags Details | Formatted Diff | Diff
Patch (125.20 KB, patch)
2017-05-30 13:37 PDT, Javier Fernandez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Fernandez 2017-05-30 04:55:29 PDT
This is a meta-bug to track the process of importing the Web Platform Tests in the css-align-3 folder of the W3C github. 

https://github.com/w3c/web-platform-tests/tree/master/css/css-align-3
Comment 1 Javier Fernandez 2017-05-30 05:10:06 PDT
Created attachment 311499 [details]
Patch
Comment 2 Manuel Rego Casasnovas 2017-05-30 05:46:18 PDT
Comment on attachment 311499 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=311499&action=review

r=me once EWSs are happy.

> LayoutTests/TestExpectations:644
> +# Imported W3C css-align-3 tests that are failing.
> +webkit.org/b/172707 imported/w3c/web-platform-tests/css/css-align-3/self-alignment/place-self-shorthand-006.html [ Failure ]
> +webkit.org/b/172707 imported/w3c/web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-006.html [ Failure ]

I don't think you need those lines, as you're adding the -expected.txt files with FAIL messages these tests will be passing.

And this seems to be the preferred choice, check this comment:
https://bugs.webkit.org/show_bug.cgi?id=170935#c6

So remove these lines from here and the rest looks good.
Comment 3 youenn fablet 2017-05-30 08:31:03 PDT
Comment on attachment 311499 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=311499&action=review

>> LayoutTests/TestExpectations:644
>> +webkit.org/b/172707 imported/w3c/web-platform-tests/css/css-align-3/default-alignment/place-items-shorthand-006.html [ Failure ]
> 
> I don't think you need those lines, as you're adding the -expected.txt files with FAIL messages these tests will be passing.
> 
> And this seems to be the preferred choice, check this comment:
> https://bugs.webkit.org/show_bug.cgi?id=170935#c6
> 
> So remove these lines from here and the rest looks good.

Agreed.
Maybe we should have a special way to keep track at the WPT tests we are not passing to improve conformance?
Currently, the best tool is WPT test runner which allows you to select a folder and get a score: https://w3c-test.org/tools/runner/index.html.
Running it locally might be a nice improvement to our infra.
Comment 4 Javier Fernandez 2017-05-30 13:29:35 PDT
Created attachment 311537 [details]
Patch
Comment 5 Javier Fernandez 2017-05-30 13:37:23 PDT
Created attachment 311540 [details]
Patch
Comment 6 WebKit Commit Bot 2017-05-30 14:18:06 PDT
Comment on attachment 311540 [details]
Patch

Clearing flags on attachment: 311540

Committed r217575: <http://trac.webkit.org/changeset/217575>
Comment 7 WebKit Commit Bot 2017-05-30 14:18:07 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2017-05-30 20:18:45 PDT
<rdar://problem/32479638>