[fxtf-drafts] [filter-effects] For filter() image function, do you use intrinsic or extrinsic image dimensions

AmeliaBR has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects] For filter() image function, do you use intrinsic or extrinsic image dimensions ==
The [definition of the `filter()` function for modifying images](https://drafts.fxtf.org/filters/#FilterCSSImageValue) says:

> Dimension and origin of the passed image must be preserved. Filter- and filter effect regions are sized according to the input image size.

But many images don't have intrinsic sizes (e.g., SVG or CSS gradient images).  And even if the image *does* have an intrinsic size, you probably want to scale it to the size it will be used at before processing.

So the wording should probably clarify that the [object-size negotiation](https://drafts.csswg.org/css-images-3/#sizing) takes place between the unfiltered image and the sizing constraints of the context in which the `filter()` image is used.




Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/177 using your GitHub account

Received on Thursday, 25 May 2017 16:48:56 UTC