- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Dec 2024 17:55:44 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-sizing] Intrinsic size of <img> / <video> with aspect ratio but no definite size`. <details><summary>The full IRC log of that discussion</summary> <fantasai> emilio: This is about what happens when a video isn't loaded, and you specify width/height but override it with 'auto'<br> <fantasai> emilio: There's inconsistency here with mage.<br> <fantasai> emilio: very common to have an unloaded video<br> <fantasai> emilio: test in WPT that Blink still failing, but WK and GK pass<br> <fantasai> emilio: Not super well-defined. Should we improve it?<br> <joshtumath> s/mage/image<br> <emilio> https://wpt.fyi/results/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html?label=experimental&label=master&aligned is the wpt fwiw<br> <TabAtkins> Urgh, even reading over this a few times, I'm still not super sure what the behaviors are and what we want out of it. :/<br> <fantasai> astearns: Preference for what to define?<br> <fantasai> emilio: When I implemented this, I very explicitly thought about it, so would prefer to align on Gecko/WebKit behavior<br> <fantasai> emilio: It is how images behave, so makes sense<br> <fantasai> astearns: what is that behavior?<br> <oriol> q+<br> <fantasai> oriol: I think the test emilio points out that Blink is failing is not completely related<br> <astearns> ack oriol<br> <fantasai> oriol: in Servo, we match Blink in a bunch of cases<br> <fantasai> oriol: Problem emilio points out is you have a video and image element, both of which have width/ehight set ot auto<br> <fantasai> oriol: they behave different in Blink<br> <fantasai> oriol: we behave like Blink, but pass the Test<br> <fantasai> oriol: so there's room to do both things<br> <fantasai> oriol: in particular, difference in Servo between imgaes and video, if an img has no resource, we fall back to 0x0 natural size (not undefined), but video is undefined (no natural size) so get default object size (300x150)<br> <fantasai> emilio: given you have aspect ratio, you end up with a sensible behavior<br> <fantasai> emilio: given how common it has to have an unloaded video...<br> <fantasai> emilio: I think I need to think through this again, been a long time<br> <fantasai> emilio: I'll take it back to GH<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10605#issuecomment-2518152465 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 December 2024 17:55:45 UTC