[wpt-sync] Sync PR 39357 - Round replaced intrinsic width/height to nearest LayoutUnit
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39357 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39357
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Round replaced intrinsic width/height to nearest LayoutUnit
This gives a better error bound, and is especially beneficial in cases
where the float number is a fairly small epsilon away from an integer.
Like 4.9999986 in the bug in question.Pixel_SVGHuge has a height of 2000pt, which is rounded to the closer
LayoutUnit (reducing the error from ~0.01 to ~0.005).Bug: 1392140
Change-Id: Ibf76f7ff4870ec93a9442771b70d28bd6889c923Reviewed-on: https://chromium-review.googlesource.com/4055723
WPT-Export-Revision: 528d5698ade6f7b8ec96cd241859d2bb0a9b45fe
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•