[webkit-changes] [WebKit/WebKit] cff53b: Make `css-text-decor/invalidation/text-decoration-...

Richard Robinson noreply at github.com
Mon Aug 5 16:37:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cff53b3fb016f9a501635f3762bc598967c07dd6
      https://github.com/WebKit/WebKit/commit/cff53b3fb016f9a501635f3762bc598967c07dd6
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-expected.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-ref.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness.html

  Log Message:
  -----------
  Make `css-text-decor/invalidation/text-decoration-thickness.html` independent of viewport size
https://bugs.webkit.org/show_bug.cgi?id=277653
rdar://133249123

Reviewed by Tim Nguyen.

Currently, this test can erroneously fail if the text is split into two lines and the following conditions are met;

1. The length of the second line is less than half the length of the first line
2. A click/hover happens in the center of the entire text

In this case, the click/hover does not actually end up over the text, and the test fails.

Fix by limiting the text's width so that it always wraps sufficiently, even on large viewport widths.

* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-expected.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness-ref.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text-decor/invalidation/text-decoration-thickness.html:

Canonical link: https://commits.webkit.org/281861@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