W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11386] Defer <video> rendering (letterboxing) to CSS

From: <bugzilla@jessica.w3.org>
Date: Tue, 23 Nov 2010 09:11:53 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PKoun-0002mt-GL@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11386

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2010-11-23 09:11:52 UTC ---
The spec currently says "Video content should be rendered inside the element's
playback area such that the video content is shown centered in the playback
area at the largest possible size that fits completely within it, with the
video content's aspect ratio being preserved. Thus, if the aspect ratio of the
playback area does not match the aspect ratio of the video, the video will be
shown letterboxed or pillarboxed. Areas of the element's playback area that do
not contain the video represent nothing."

Opera has implemented support for CSS3 object-fit [1] and object-position [2]
and I would like the spec to state the default rendering in terms of object-fit
and object-position, as such:

video { image-fit: contain; image-position: 50% 50% }

We also support it for img, perhaps that should also be updated accordingly:

img { image-fit: fill }

Note that Opera's implementation is still prefixed: -o-object-fit and
-o-object-position.

[1] http://dev.w3.org/csswg/css3-images/#object-fit
[2] http://dev.w3.org/csswg/css3-images/#object-position

-- 
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, 23 November 2010 09:11:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 November 2010 09:11:56 GMT