- From: <bugzilla@jessica.w3.org>
- Date: Tue, 11 Jan 2011 18:40:46 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11386 --- Comment #12 from Philip Jägenstedt <philipj@opera.com> 2011-01-11 18:40:45 UTC --- (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > This should be defined in HTML, in the UA stylesheet. It's perfectly fine to > > > have styles for <video> and <img> be different there. > > > > Precisely, this was my thinking too. So it's not out of scope for HTML, then? > > Ah, talking past each other. I meant that it was out-of-scope for HTML to > define the rendering itself, since CSS can now handle it. It's perfectly > appropriate (and necessary) for HTML to define *what* CSS is used to handle it. Yep, this is what I'm suggesting: that we put something like this in the user agent style sheet: video { object-fit: contain; object-position: 50% 50% } img { object-fit: fill } (And like any default style it can be hardcoded, so it doesn't necessarily require browsers to support object-fit and object-position via CSS, although that would be nice.) -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Tuesday, 11 January 2011 18:40:47 UTC