On 4/16/14 10:22 AM, Justin Novosad wrote:
But why a new version of drawImage? Couldn't we just modify the existing drawImage definition to state that it takes into account the image-orientation property on the source image?
We could do that, though it introduces a dependency of drawImage on style computation that isn't there right now.
So I think we can make that change to the drawImage spec without breaking stuff, as long as we make the change while image-orientation is still an experimental feature.
Note that image-orientation has been shipping in Firefox for several releases now.