[Webkit-unassigned] [Bug 228730] Replace webkit- prefix logical properties with Standard Properties in LayoutTests/

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 16 00:42:11 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228730

Frédéric Wang (:fredw) <fred.wang at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #435559|review?                     |review-
              Flags|                            |

--- Comment #4 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
Comment on attachment 435559
  --> https://bugs.webkit.org/attachment.cgi?id=435559
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210816/c1df0dbc/attachment.htm>


More information about the webkit-unassigned mailing list