[wpt-sync] Sync PR 24816 - [layout] Fix relative positioning w/ percents and calcs.
Categories
(Core :: Layout: Positioned, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24816 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24816
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[layout] Fix relative positioning w/ percents and calcs.
Previously we would accidentally resolve things like: "top: 50%" against
"-1" (in the case where we have an indefinite size) causing an incorrect
position.Additionally there was a separate bug where we'd resolve
"top: calc(10px + 10%)" against indefinite sizes, which also shouldn't
resolve.This patch fixes both these issues.
Change-Id: I2ec4fa324217225fcdc0dcb3fbd4f55c256829c6
Reviewed-on: https://chromium-review.googlesource.com/2329917
WPT-Export-Revision: bfbf92b714e1b1f98ffbf9032977387e015b9a14
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
CI Results
Ran 6 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS: 2
Chrome
FAIL: 2
Safari
PASS: 2
Links
Comment 6•5 years ago
|
||
bugherder |
Description
•