ISSUE-2237: Align with CSS WG preserveAspectRatio

css-preserveAspectRatio

Align with CSS WG preserveAspectRatio

State:
RAISED
Product:
SVG 2
Raised by:
Doug Schepers
Opened on:
2009-03-18
Description:
Simon Pieters, per http://lists.w3.org/Archives/Public/www-svg/2009Mar/0076.html :

[[
We're speculating about implementing 'image-fit'

http://dev.w3.org/csswg/css3-page/#propdef-image-fit

and we note that it's pretty similar to preserveAspectRatio in SVG

http://www.w3.org/TR/SVG11/coords.html#PreserveAspectRatioAttribute

The SVG attribute is not available as a CSS property.


We're considering the feasibility of aligning the two and making the SVG attribute map to the CSS property.

The CSS property allows the same precision as 'background-position' for positioning, while SVG has less precision. What are the use cases for more precision? Could the SVG WG consider allowing the same precision for preserveAspectRatio?

The CSS spec allows the image to go outside of the layout box with 'overflow:visible; image-fit:cover'. What's the use case for this?

Previously, the CSS spec had the same keywords as SVG. What's the reason for the change?
]]
Related Actions Items:
No related actions
Related emails:
  1. ISSUE-2237 (css-preserveAspectRatio): Align with CSS WG preserveAspectRatio [SVG Core 2.0] (from sysbot+tracker@w3.org on 2009-03-18)

Related notes:

No additional notes.

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2237.html,v 1.1 2020/01/17 13:20:33 carcone Exp $