Skip to content

Use the intended reference file for word-spacing-002.html - #54658

Merged
jfkthame merged 1 commit into
web-platform-tests:masterfrom
jfkthame:word-spacing-002-fix
Sep 8, 2025
Merged

Use the intended reference file for word-spacing-002.html#54658
jfkthame merged 1 commit into
web-platform-tests:masterfrom
jfkthame:word-spacing-002-fix

Conversation

@jfkthame

@jfkthame jfkthame commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

AFAICS, this test has been broken ever since it was imported from webkit. The original webkit commit included a word-spacing-002-expected.html file (see WebKit commit 6abbfb00701a455534e7d9af010909a6dc2b66ed) clearly intended as a reference (and maybe webkit's CI used it as such), but the actual test file links to word-spacing-001-ref.html, which can never have matched (it doesn't even have the same number of test lines).

The "expected" file didn't make it into WPT at all, and the test has always been failing. This commit imports it (with the name changed to use "ref"), and updates the link in the test appropriately.

@kojiishi kojiishi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@jfkthame
jfkthame enabled auto-merge (squash) September 4, 2025 21:59
@jfkthame
jfkthame force-pushed the word-spacing-002-fix branch 2 times, most recently from 6b1f125 to 30ab5ff Compare September 8, 2025 09:24
@jfkthame

jfkthame commented Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

@kojiishi thanks for the review! Do you know what to do about the failing wpt-decision-task check, which appears to be blocking this from merging? I have no idea what's wrong there...

@kojiishi

kojiishi commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

@kojiishi thanks for the review! Do you know what to do about the failing wpt-decision-task check, which appears to be blocking this from merging? I have no idea what's wrong there...

Maybe #53933 ?

@kojiishi

kojiishi commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

@jfkthame you could try removing tags from the description.

@jfkthame
jfkthame force-pushed the word-spacing-002-fix branch 2 times, most recently from 91b66e5 to 294eb66 Compare September 8, 2025 12:26
@jfkthame
jfkthame marked this pull request as draft September 8, 2025 12:31
auto-merge was automatically disabled September 8, 2025 12:31

Pull request was converted to draft

@jfkthame
jfkthame marked this pull request as ready for review September 8, 2025 12:32
@jfkthame jfkthame closed this Sep 8, 2025
@jfkthame jfkthame reopened this Sep 8, 2025
AFAICS, this test has been broken ever since it was imported from webkit.
The original webkit commit included a word-spacing-002-expected.html file
(see WebKit commit 6abbfb00701a455534e7d9af010909a6dc2b66ed)
clearly intended as a reference (and maybe webkit's CI used it as such),
but the actual test file links to word-spacing-001-ref.html
which can never have matched (it doesn't even have the same number of
test lines).

The "expected" file didn't make it into WPT at all, and the test has
always been failing. This commit imports it (with the name changed to
use "ref"), and updates the link in the test appropriately.
@jfkthame
jfkthame force-pushed the word-spacing-002-fix branch from 294eb66 to 39f2d3b Compare September 8, 2025 12:45
@jfkthame
jfkthame merged commit e74da1b into web-platform-tests:master Sep 8, 2025
22 checks passed
@jfkthame
jfkthame deleted the word-spacing-002-fix branch September 8, 2025 13:02
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 10, 2025
The test was fixed in the upstream[1].

[1] web-platform-tests/wpt#54658

Bug: 40475877
Change-Id: Idb584d18925cf35805d4be855e180ab15c342c43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6916902
Auto-Submit: Koji Ishii <kojii@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1513513}
mertcanaltin pushed a commit to mertcanaltin/wpt that referenced this pull request Oct 26, 2025
…rm-tests#54658)

AFAICS, this test has been broken ever since it was imported from webkit.
The original webkit commit included a word-spacing-002-expected.html file
(see WebKit commit 6abbfb00701a455534e7d9af010909a6dc2b66ed)
clearly intended as a reference (and maybe webkit's CI used it as such),
but the actual test file links to word-spacing-001-ref.html
which can never have matched (it doesn't even have the same number of
test lines).

The "expected" file didn't make it into WPT at all, and the test has
always been failing. This commit imports it (with the name changed to
use "ref"), and updates the link in the test appropriately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants