Bug 235060

Summary: [CSS contain] Update css-contain tests from WPT
Product: WebKit Reporter: Rob Buis <rbuis>
Component: CSSAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: clopez, ews-watchlist, rego, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Rob Buis 2022-01-11 02:08:05 PST
[CSS contain] Update css-contain tests from WPT
Comment 1 Rob Buis 2022-01-11 02:15:17 PST
Created attachment 448833 [details]
Patch
Comment 2 Rob Buis 2022-01-11 02:24:52 PST
Created attachment 448834 [details]
Patch
Comment 3 Manuel Rego Casasnovas 2022-01-11 03:25:04 PST
Comment on attachment 448834 [details]
Patch

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

> LayoutTests/imported/w3c/ChangeLog:11
> +        This also changes many test expectations to expect PASSes instead of FAILs. Since they
> +        actually fail these need to be skipped for now.

Is this a common practice? I believe we usually prefer to have things with FAIL to detect regressions/progressions on patches.

If we just skip tests, we are going to detect that we improve anything, unless we unskip them.
Comment 4 Manuel Rego Casasnovas 2022-01-11 03:38:19 PST
Comment on attachment 448834 [details]
Patch

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

> LayoutTests/imported/w3c/ChangeLog:15
> +        * web-platform-tests/css/css-contain/contain-inline-size-bfc-floats-001-expected.html: Added.
> +        * web-platform-tests/css/css-contain/contain-inline-size-bfc-floats-001-ref.html: Added.

These 2 files are duplicated? It seems we have some problem in the import script.
Comment 5 Rob Buis 2022-01-11 07:23:53 PST
Created attachment 448846 [details]
Patch
Comment 6 Rob Buis 2022-01-11 07:54:05 PST
Comment on attachment 448834 [details]
Patch

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

>> LayoutTests/imported/w3c/ChangeLog:11
>> +        actually fail these need to be skipped for now.
> 
> Is this a common practice? I believe we usually prefer to have things with FAIL to detect regressions/progressions on patches.
> 
> If we just skip tests, we are going to detect that we improve anything, unless we unskip them.

Not common, I removed it in the new patch.

>> LayoutTests/imported/w3c/ChangeLog:15
>> +        * web-platform-tests/css/css-contain/contain-inline-size-bfc-floats-001-ref.html: Added.
> 
> These 2 files are duplicated? It seems we have some problem in the import script.

Right, this is behaviour since https://bugs.webkit.org/show_bug.cgi?id=234510 landed. On advice of ntim I reverted it locally, so the new patch has no -ref files anymore.
Comment 7 Manuel Rego Casasnovas 2022-01-11 08:21:41 PST
Comment on attachment 448846 [details]
Patch

r=me, thanks.
Comment 8 EWS 2022-01-11 09:44:21 PST
Committed r287882 (245926@main): <https://commits.webkit.org/245926@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 448846 [details].
Comment 9 Radar WebKit Bug Importer 2022-01-11 09:45:17 PST
<rdar://problem/87404377>