css content-visibility: auto resets object-fit on contentvisibilityautostatechange
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox125 | --- | wontfix |
firefox126 | --- | wontfix |
firefox127 | --- | fixed |
firefox128 | --- | fixed |
People
(Reporter: nick.zotenko, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
if image tags have both css properties content-visibility: auto; and object-fit: contain;
object-fit would be reset to a default value (object-fit: fill) when contentvisibilityautostatechange triggered
here is an example of reproduction on codepen
Actual results:
object-fit reset to default value
Expected results:
object-fit won't reset and would save original value
Comment 1•6 months ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=f89991d1b2cdd13120304730efba7878d4cfac5b&tochange=af2192d1c5378cb3d6d9334ddcf52500f94bc385
Comment 2•6 months ago
|
||
Set release status flags based on info from the regressing bug 1804761
:jihye, since you are the author of the regressor, bug 1804761, could you take a look?
For more information, please visit BugBot documentation.
Updated•6 months ago
|
Comment 3•6 months ago
|
||
Set release status flags based on info from the regressing bug 1804761
Comment 4•6 months ago
|
||
Emilio or asurkov, I wonder if one of you can help out here, since you both reviewed the patch ? Thanks!
Comment 5•6 months ago
|
||
So I can get chrome on a similarly weird state if I add contain: size explicitly. But off-hand this seems like bug 1886745.
However, I think this shouldn't work per spec, unless we also make contain-intrinsic-size
not work for object-fit purposes?
Comment 6•6 months ago
|
||
Ah, I lie, bug 1886745 is exactly this and covers contain-intrinsic-size
too.
Comment 7•5 months ago
|
||
Sorry for the late reply. I'm not actively involved with Gecko lately. It's good to see the bug was marked as a duplicate of a fixed bug, so apparently, the problem is resolved. I'm canceling the pending NI requests.
Updated•5 months ago
|
Description
•