[resize-observer] Support multiple fragments in ResizeObserver
Categories
(Core :: Layout, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
Attachments
(3 files)
In https://github.com/w3c/csswg-drafts/issues/3673#issuecomment-467221565 the CSSWG resolved that ResizeObserver should expose an array of fragment sizes.
Right now the arrays always has a single size.
Let's just populate it behind a pref.
Assignee | ||
Comment 1•2 years ago
|
||
This is in preparation of supporting multiple fragments, since we want
to track the logical sizes, and fragments might potentially have
different writing modes (but not sure if it can happen in practice).
This patch should have no observable effect.
Depends on D157633
Assignee | ||
Comment 2•2 years ago
|
||
This is in preparation of supporting multiple fragments, since we should
track each fragment size separately.
This patch should have no observable effect.
Depends on D157639
Assignee | ||
Comment 3•2 years ago
|
||
As per CSSWG resolution: https://github.com/w3c/csswg-drafts/issues/3673
Some details are not clear, so implement it behind a pref, disabled by
default.
Depends on D157640
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b6566510caed
https://hg.mozilla.org/mozilla-central/rev/2ffdf43d7cbb
https://hg.mozilla.org/mozilla-central/rev/05ef9b63051c
Description
•