[webkit-changes] [WebKit/WebKit] a7f6a0: Refactor WPT no-autospace test for no implicit ini...

Vitor Roriz noreply at github.com
Thu Oct 31 17:06:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7f6a0c7ef18e9c721248b6315425dc763e3c4f4
      https://github.com/WebKit/WebKit/commit/a7f6a0c7ef18e9c721248b6315425dc763e3c4f4
  Author: Vitor Roriz <vitor.roriz at apple.com>
  Date:   2024-10-31 (Thu, 31 Oct 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-expected-mismatch.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-expected.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-mismatch-ref.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-ref.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001.html

  Log Message:
  -----------
  Refactor WPT no-autospace test for no implicit initial value
https://bugs.webkit.org/show_bug.cgi?id=282358
rdar://138948483

Reviewed by Tim Nguyen.

This test verifies the behavior for `no-autospace`.
For building the test, we assume that the initial value
for the property is `normal`, which is what spec currently
expects but not what WebKit is willing to implement initially.

WebKit still implements `normal` and `no-autospace` correctly,
we just don't assume the initial value to be `normal`.

Therefore, we can refactor this test to explicitly set `normal` when needed
without impacting what we are really trying to test here, which is the
`no-autospace` behavior.

* LayoutTests/TestExpectations:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-expected-mismatch.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-expected.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-mismatch-ref.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001-ref.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/text-autospace/text-autospace-no-001.html:

Canonical link: https://commits.webkit.org/285989@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list