Closed Bug 1915120 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47810 - Refine font-size-adjust-computed.html with precision adjustment for from-font tests

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

ChangSeok Oh <changseok.oh@bytedance.com> wrote:

Refine font-size-adjust-computed.html with precision adjustment for from-font tests

The aspect value for font_size_adjust can vary slightly depending on
font configurations. We initially fixed this by rounding the adjusted
font size, but font-size-adjust-computed.html still wasn't happy.
This update reverts the previous change and applies
assert_approx_equals with a 0.00001 delta to the failing tests instead.

Bug: 346773492
Change-Id: Ie18a79e877b1c9ec1bbec38a899d77c15bcc22d9

Reviewed-on: https://chromium-review.googlesource.com/5799249
WPT-Export-Revision: 3432d4e7bb2e2598598b7dd71534ba2cb30b1683

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core

CI Results

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

Total 1 tests and 14 subtests

Status Summary

Firefox

OK : 1
PASS: 14

Chrome

OK : 1
PASS: 14

Safari

OK : 1
PASS: 14

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5d419af91db [wpt PR 47810] - Refine font-size-adjust-computed.html with precision adjustment for from-font tests, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.