Closed Bug 1876834 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44234 - layout: Round getClientRect queries to pixels properly

Categories

(Core :: DOM: CSS Object Model, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Oriol Brufau <obrufau@igalia.com> wrote:

layout: Round getClientRect queries to pixels properly

Instead of just flooring all pixels in getClientRect queries, we should
round the rectangle.

<!-- Please describe your changes on the following line: -->

Reviewed in servo/servo#31187

Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core

CI Results

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

Total 1 tests and 15 subtests

Status Summary

Firefox

OK : 1
PASS: 12
FAIL: 3

Chrome

OK : 1
PASS: 12
FAIL: 3

Safari

OK : 1
PASS: 12
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44cb9efad6ff [wpt PR 44234] - layout: Round `clientTop`, etc queries to pixels properly, a=testonly https://hg.mozilla.org/integration/autoland/rev/84dff2eb8c54 [wpt PR 44234] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.