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
Current spec specifies that definite sizes are transferred through the aspect ratio. But there are probably some cases where "indefinite" sizes need to also be transferred, e.g. replaced elements with an intrinsic size must always be able to transfer those sizes.
(Probably for non-replaced elements, such sizes shouldn't transfer, since in many cases they will require layout. This rationale should also be noted in the spec so it's clear.)
The text was updated successfully, but these errors were encountered:
This is a corner case, but yeah, it is possible to have an SVG with an intrinsic width and nothing else. In this situation, setting 'aspect-ratio: 1 / 1;' should probably transfer the intrinsic width across to become an intrinsic height as well.
I'm a little scared of doing that; I don't have any example, but I suspect it might have unexpected effects on layout algorithms. The above commit at least gives us the minimal edit to solve this issue, tho.
Current spec specifies that definite sizes are transferred through the aspect ratio. But there are probably some cases where "indefinite" sizes need to also be transferred, e.g. replaced elements with an intrinsic size must always be able to transfer those sizes.
(Probably for non-replaced elements, such sizes shouldn't transfer, since in many cases they will require layout. This rationale should also be noted in the spec so it's clear.)
The text was updated successfully, but these errors were encountered: