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
The picture element, being treated as an inline wrapper around the actual replaced element, prevents images with aspect ratios in participating properly in the CSS layout algorithms as images with aspect ratios. Also unless one specifically wants a wrapper, having an inline box wrapped around the image isn't really helping anyone. Also having a bunch of empty inlines representing each SOURCE element seems pretty unnecessary. Let's get rid of these boxes.
@tabatkins Yes, it should. And here, until they fix it and make this unnecessary... meanwhile, I will remember the cries of "WHAT?!?!?!! IT DOES WHAT?????" from @fantasai@frivoal Amelia, and crew (from CSSWG) for while.
Doesn't seem so. <video> and <audio> are themselves replaced elements, and their children are not part of the page, so even if you put a border on a <track> element or a <source> element inside a video, it will not show up. It's only inside picture that it is a problem
Testcase
The picture element, being treated as an inline wrapper around the actual replaced element, prevents images with aspect ratios in participating properly in the CSS layout algorithms as images with aspect ratios. Also unless one specifically wants a wrapper, having an inline box wrapped around the image isn't really helping anyone. Also having a bunch of empty inlines representing each SOURCE element seems pretty unnecessary. Let's get rid of these boxes.
(Yay, a use case for 'display: contents' that isn't better served by subgrid!)
The text was updated successfully, but these errors were encountered: