ResizeObserver devicePixelContentBox size still broken
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: mozilla2, Assigned: dshin)
References
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Steps to reproduce:
On a Mac
- Go to https://jsgist.org/?src=c2e4cdca322620bdaf4e46764d6ce761
- Zoom to 67% (press Cmd Minus 3 times)
- Resize the window
Actual results:
The top rectangles should appear to have a gradient at certain sizes
Expected results:
The top rectangles should never appear to have a gradient (changing brightness across or down)
See https://bugzilla.mozilla.org/show_bug.cgi?id=1774135#c14 for more details
Also I think this wpt test may surface the issue
Updated•2 years ago
|
Comment hidden (typo) |
Comment 2•2 years ago
|
||
(sorry, hit submit without finishing my comment. :) )
dshin might be interested to take a look here...
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Case I've been using for reproducing on my Linux machine. Zooming to 140% causes the same gradient behaviour.
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
This address the scaling/interpolation artifacts while zooming when
<canvas>
rescales and/or redraws itself based on ResizeObserver
's
devicePixelContentBox
output.
Depends on D159884
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/125a0d6ca184
https://hg.mozilla.org/mozilla-central/rev/f03fabffc6c6
Description
•