Container query: incorrect size calculated in Firefox
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: peter, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0
Steps to reproduce:
In Firefox I'm seeing different container query behaviour to Chrome or Safari. In the demo below the wrong container query size is being applied. The results aren't stable - changing the browser size and sometimes even just hovering the mouse cursor over the element flips the size.
Demo to reproduce: https://codepen.io/pbowyer/pen/NWOJVMm
Actual results:
Either: the big and small cards both have the small sized logo & box
or
the big and small cards both have the large sized logo & box
Expected results:
The big cards have the large sized logo & box
The small cards have the small sized logo & box
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:dholbert, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
|
||
Sorry for the delay here. Good news, it looks like this has been fixed. (I can reproduce the bug in older Nightly builds, but not in newer Nightly builds.)
--> Duplicate of bug 1832481, which fixed an issue with container-query-unit handling.
Description
•