[wpt-sync] Sync PR 39133 - [anchor-position] Resolve anchor functions in getComputedStyle()
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39133 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39133
Details from upstream follow.
Xiaocheng Hu <xiaochengh@chromium.org> wrote:
[anchor-position] Resolve anchor functions in getComputedStyle()
Currently, when getComputedStyle() returns values for
leftetc,
it needs to re-resolve them (after layout) into a pixel value.This patch provides an NGAnchorEvaluatorImpl for the resolution, so
that anchor functions can also be resolved.There are also a few cases that are unsolved and left for future.
They are marked with TODOs.Fixed: 1423493
Change-Id: I319543230008e61a8363fdebb111a9840adc6e5dReviewed-on: https://chromium-review.googlesource.com/4330385
WPT-Export-Revision: 54a8ee9be53121f266db10bba8bd5804927a2a52
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK : 1
FAIL: 3
Chrome
OK : 1
FAIL: 3
Safari
OK : 1
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-anchor-position/anchor-getComputedStyle.html [wpt.fyi]
- Basic case:
FAIL(Chrome:FAIL, Safari:FAIL) - Mixed writing modes and directions:
FAIL(Chrome:FAIL, Safari:FAIL) - With containing block padding:
FAIL(Chrome:FAIL, Safari:FAIL)
- Basic case:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2fa547ffe831
https://hg.mozilla.org/mozilla-central/rev/5b6b98aa68ab
Description
•