[wpt-sync] Sync PR 44234 - layout: Round getClientRect queries to pixels properly
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
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
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
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
- /css/cssom-view/subpixel-sizes-and-offsets.tentative.html [wpt.fyi]
- clientLeft and clientTop don't round 44.9:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - clientLeft and clientTop don't round 44.5:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - clientLeft and clientTop don't round 44.1:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- clientLeft and clientTop don't round 44.9:
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/44cb9efad6ff
https://hg.mozilla.org/mozilla-central/rev/84dff2eb8c54
Description
•