Closed Bug 1830377 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39737 - Better implement getComputedStyle() for positioned insets

Categories

(Core :: Web Painting, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Martin Robinson <mrobinson@igalia.com> wrote:

Better implement getComputedStyle() for positioned insets

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

The specification dictates quite quite idiosyncratic return values when
querying insets of positioned elements via getComputedStyle(). These
depend on whether or not the elements size was overconstrained. This
change adds a better implementation of that in preparation for returning
proper values for position: sticky.
Reviewed in servo/servo#29677

Component: web-platform-tests → Web Painting
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.