W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2017

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Thu, 25 May 2017 16:48:50 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-231394978-1495730929-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 November 2018 00:45:58 UTC