Closed Bug 1599176 Opened 5 years ago Closed 3 years ago

[resize-observer] ResizeObserverEntry's size properties should be exposed as sequences

Categories

(Core :: Layout, task, P3)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: dlibby, Assigned: boris)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3955.0 Safari/537.36 Edg/80.0.326.0

See https://github.com/w3c/csswg-drafts/pull/4529 and associated issue https://github.com/w3c/csswg-drafts/issues/3673. We're working on implementing and shipping this in Blink, along with device-pixel-content-size (https://bugzilla.mozilla.org/show_bug.cgi?id=1587973)

Status: UNCONFIRMED → NEW
Type: defect → task
Component: Untriaged → Layout
Ever confirmed: true
Priority: -- → P3
Product: Firefox → Core
Assignee: nobody → boris.chiou

Based on the spec, we should use FrozenArray for these two attributes.
However, we don't support FrozenArray in Gecko now, so use sequence.

https://drafts.csswg.org/resize-observer/#resize-observer-entry-interface

Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0fb1ccb29741
Use sequence for borderBoxSize and contentBoxSize in ResizeObserverEntry. r=smaug,dholbert
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Regressions: 1721544
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: