Bug 11956
| Summary: | WebKit lacks support for "defer" keyword on preserveAspectRatio | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | krit |
| Priority: | P4 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Eric Seidel (no email)
WebKit lacks support for "defer" keyword on preserveAspectRatio
From the spec:
http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute
If the value of preserveAspectRatio on an 'image' element starts with 'defer' then the value of the preserveAspectRatio attribute on the referenced content if present should be used. If the referenced content lacks a value for preserveAspectRatio then the preserveAspectRatio attribute should be processed as normal (ignoring 'defer'). For preserveAspectRatio on all other elements the 'defer' portion of the attribute is ignored.
This seems to be a very obscure corner of the spec. Support here will depend on actually having support for <image> tags which reference SVG files. It seems marking a preserveAspectRatio on an <image> as 'defer' means, that the implementation is supposed to parse the preserveAspectRatio out of the .svg file and use it in the context of the <image>.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Dirk Schulze
The keyword was removed from SVG2