RE: scaling behavior of HTML <img>/<video> and SVG preserveAspectRatio

I see that they've been made image properties image-fit and
image-position. Even though it isn't a great stretch to call video an
image (a moving one), wouldn't these properties apply to all replaced
content with an intrinsic size? If so, wouldn't content-orientation,
content-fit and content-position be more fitting names?

Philip

On Wed, 2008-12-03 at 18:57 +0000, Grant, Melinda wrote:
> Dean said:
> > Aside: I'm not sure why these are in Paged Media. They seem
> > applicable to continuous media too.
> 
> Yes, as indicated by their 'Applies to' field.
> 
> They're there because (1) the print implementations were the first to implement these; and (2) because we wanted them in a module that could progress rapidly to REC once CSS 2.1 is done. They certainly could be moved if there is a better place to put them...
> 
> These properties have been changed significantly (but not in ways that diminish their applicability here) so there will be another Last Call on this-- see http://dev.w3.org/csswg/css3-page/#img-fit for the latest.
> 
> Best wishes,
> 
> Melinda
-- 
Philip Jägenstedt
Opera Software

Received on Wednesday, 3 December 2008 19:30:38 UTC