W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2015

[css-filters] bounding box / filter region vs. child transforms

From: Stephen White <senorblanco@chromium.org>
Date: Mon, 16 Nov 2015 19:20:24 -0500
Message-ID: <CAPeKFTj12CiGQ31iQf5A90W04vY5CaZapXdr9uFf46EmfmBr3A@mail.gmail.com>
To: "public-fx@w3.org" <public-fx@w3.org>
Hi filter-folks,

Should the bounding box used to compute filter region in CSS filter effects
include CSS transforms applied to child elements?


    <div id="parent" style="filter: url(#filter);">
      <div id="child" style="transform: scaleY(4);">X

What's the bounding box for the filter on "parent"? Does it include the
scaleY(4) of the child element, or is it the original untransformed
bounding box? The spec currently has a link
to the SVG 1.1 spec, which has no mention of transforms, so one could
assume they're implicitly included, but being an SVG spec, perhaps it
doesn't fully describe all possible implications for HTML.

(See Chrome bug https://code.google.com/p/chromium/issues/detail?id=554169
for further reference/discussion.)

Thanks in advance for your help,

Received on Tuesday, 17 November 2015 00:20:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:54 UTC