You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been reading through the layout component with an eye towards implementing aspect-ratio in non-replaced elements. Would you be open to me taking a stab at implementing that?
Hi @freyacodes, thanks for your interest! Layout is currently undergoing a lot of architectural work, so the main folks working on layout are going to have limited to review and mentor a big project like this. I would suggest maybe picking something more in the realm of DOM / Script which has more reviewers and has a greater deal of abstraction between parts.
Activity
freyacodes commentedon Feb 11, 2026
I have been reading through the layout component with an eye towards implementing aspect-ratio in non-replaced elements. Would you be open to me taking a stab at implementing that?
mrobinson commentedon Feb 11, 2026
Hi @freyacodes, thanks for your interest! Layout is currently undergoing a lot of architectural work, so the main folks working on layout are going to have limited to review and mentor a big project like this. I would suggest maybe picking something more in the realm of DOM / Script which has more reviewers and has a greater deal of abstraction between parts.
jdm commentedon Sep 28, 2026
Sample non-replaced testcase:
Firefox/Chrome:
Servo:
layout: Add experimental aspect-ratio support for non-replaced boxes (s…
layout: Consider aspect-ratio block sizes when collapsing margins (se…
layout: Clear the quirk flag for definite aspect-ratio block sizes (s…