WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
228730
Replace webkit- prefix logical properties with Standard Properties in LayoutTests/
https://bugs.webkit.org/show_bug.cgi?id=228730
Summary
Replace webkit- prefix logical properties with Standard Properties in LayoutT...
Sonia Singla
Reported
2021-08-02 23:21:09 PDT
Similar to
Bug 228697
, we should replace webkit- prefix properties with Standard Properties in Layout/
Attachments
Patch
(299.47 KB, patch)
2021-08-14 23:17 PDT
,
Sonia Singla
no flags
Details
Formatted Diff
Diff
Patch
(298.12 KB, patch)
2021-08-14 23:48 PDT
,
Sonia Singla
no flags
Details
Formatted Diff
Diff
Patch
(195.80 KB, patch)
2021-08-21 22:00 PDT
,
Sonia Singla
no flags
Details
Formatted Diff
Diff
Patch
(197.15 KB, patch)
2021-08-24 08:51 PDT
,
Sonia Singla
no flags
Details
Formatted Diff
Diff
Patch
(172.41 KB, patch)
2021-09-01 04:38 PDT
,
Sonia Singla
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-08-09 23:22:16 PDT
<
rdar://problem/81729542
>
Sonia Singla
Comment 2
2021-08-14 23:17:37 PDT
Created
attachment 435558
[details]
Patch
Sonia Singla
Comment 3
2021-08-14 23:48:37 PDT
Created
attachment 435559
[details]
Patch
Frédéric Wang (:fredw)
Comment 4
2021-08-16 00:42:11 PDT
Comment on
attachment 435559
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=435559&action=review
Thanks Sonia. It looks that you are close to get EWS green. Some comments inline...
> LayoutTests/ChangeLog:144 > + * platform/gtk/imported/w3c/web-platform-tests/css/cssom/cssstyledeclaration-csstext-expected.txt:
As a reminder, you should not modify any test in LayoutTests/imported/w3c/web-platform-tests/ (these have not been sync). Since you don't modify any code here in this patch, there is no need to update the expectation.
> LayoutTests/fast/css/remove-shorthand-expected.txt:57 > +removes "margin-block-start-collapse, margin-block-end-collapse"
You didn't modify remove-shorthand.html in this patch. It looks like this test is checking what are the longhand properties removed when removing the shorthand -webkit-margin-collapse.
> LayoutTests/platform/glib/svg/css/getComputedStyle-basic-expected.txt:468 > +rect: style.getPropertyCSSValue(margin-block-start-collapse) : [object CSSPrimitiveValue]
For all these getComputedStyle-basic-expected.txt, you modified the expectation but not the test LayoutTests/svg/css/getComputedStyle-basic.xhtml itself. I believe we want to continue to test the -webkit prefixed properties here, until they are actually removed. What you should do instead is updating Layout/fast/css/getComputedStyle/resources/property-names.js to add the unprefixed forms. Please check all the tests that are relying on this helper JS file and run locally before uploading a new patch: LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer.html LayoutTests/fast/css/getComputedStyle/computed-style.html LayoutTests/svg/css/getComputedStyle-basic.xhtml
> LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:236 > +margin-block-start-collapse: collapse;
For these computed-style-expected.txt files, see my comment about property-names.js
> LayoutTests/platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:235 > +margin-block-start-collapse: collapse
For these computed-style-without-renderer-expected.txt files, see my comment about property-names.js
Sonia Singla
Comment 5
2021-08-21 22:00:32 PDT
Created
attachment 436106
[details]
Patch
Frédéric Wang (:fredw)
Comment 6
2021-08-23 00:01:25 PDT
Comment on
attachment 436106
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=436106&action=review
LGTM, but probably wait that Oriol or Rego are back to comment on this.
> LayoutTests/ChangeLog:4 > +
https://bugs.webkit.org/show_bug.cgi?id=228730
I think it would be nice to have a short statement explaining what we are doing in this patch. In particular, the details of the old/new property names.
Sonia Singla
Comment 7
2021-08-24 08:51:37 PDT
Created
attachment 436290
[details]
Patch
Manuel Rego Casasnovas
Comment 8
2021-09-01 01:03:21 PDT
Comment on
attachment 436290
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=436290&action=review
Nice work, thanks for the patch. Just some comments inline.
> LayoutTests/ChangeLog:32 > + Reviewed by NOBODY (OOPS!).
Nit: This line is usually before the description of the change.
> LayoutTests/ChangeLog:56 > + * fast/css/border-start-end.html:
This test is specifically testing the -webkit- prefixed property, so it doesn't make sense to change it. Please keep it as it is. There are more like this: margin-start-end.html, padding-start-end.html.
Sonia Singla
Comment 9
2021-09-01 04:38:36 PDT
Created
attachment 437013
[details]
Patch
EWS
Comment 10
2021-09-01 22:11:14 PDT
Committed
r281908
(
241220@main
): <
https://commits.webkit.org/241220@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 437013
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug