Closed Bug 2068935 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62378 - Disable the `FirstLineTextMetrics` runtime flag

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62378 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62378
Details from upstream follow.

Koji Ishii <kojii@chromium.org> wrote:

Disable the FirstLineTextMetrics runtime flag

This runtime flag was introduced by crrev.com/c/6792103 to
match CSS2 and Gecko. But discussion1 discovered that the
spec was changed to match old Blink (before the flag) and
WebKit2.

This patch disables the flag to match the current spec and
WebKit.

The flag was enabled one year ago, and no regressions were
reported so far.

Adjusted first-line-line-height-002 test to match the
current spec. This test was added to help interop of the old
behavior by 4.

first-line-line-height-003 added by the CL above was
removed, as 002 covers the behavior.

Bug: 41362700, 548482066
Change-Id: I06dec00a9d9f823f394bdc7bbd22c6d8c2e6bb50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8315592
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1690441}

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 346 tests and 41 subtests

Status Summary

Firefox

OK : 53
PASS : 25[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 628[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 818[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 824[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL : 1[GitHub] 193[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 262[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 268[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 3

Chrome

FAIL : 1

Safari

PASS : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.