cc::FilterOperation needs to support percentage unit |
||||
Issue descriptionThis is needed to correctly animate filtered elements. CSS filter property allows to use an external URL to load a complex SVG filter. In that syntax, the filter as a whole can specify a "filter region"(#1) as a hard clip to the input image, and each filter primitive can specify a "filter primitive subregion"(#1) as a hard clip to the output of the filter step. Both filter region and filter primitive subregion can use percentage unit. For filter primitive subregion, percentage is relative to filter region. For filter region, percentage is relative to the visual overflow of the subtree by default(#2, #3). Currently our implementation only computes the visual overflow during paint (see PaintLayer::boxForFilter()), but it should be mutated by threaded animation. [#1] https://drafts.fxtf.org/filters/#FilterPrimitiveSubRegion [#2] https://drafts.fxtf.org/filters/#filter-region [#3] https://www.w3.org/TR/2011/REC-SVG11-20110816/coords.html#ObjectBoundingBoxUnits
,
Oct 27 2016
Ah totally relevant! That (non-landed) change needs to have a SPv2 counterpart. That said, I agree this isn't a very common use case to prioritize for.
,
Apr 5 2017
,
Apr 11 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 11 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by senorblanco@chromium.org
, Oct 27 2016