W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2011

Re: Filters on HTML question

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 31 Mar 2011 15:34:35 +1300
Message-ID: <AANLkTi=Bhfgi+Pi0gLnxRLMLEWGXY4qhweq3DbiSy+Gz@mail.gmail.com>
To: Patrick Dengler <patd@microsoft.com>
Cc: "public-fx@w3.org" <public-fx@w3.org>
On Thu, Mar 31, 2011 at 5:28 AM, Patrick Dengler <patd@microsoft.com> wrote:

> (If we follow the painting , from draft spec)
> How the 'filter' property applies to content formatted by CSS (e.g HTML)
> The application of the ‘filter’ property to an element formatted by CSS
> establishes a pseudo-stacking-context the same way that CSS 'opacity' does,
> and all the element's boxes are rendered together as a group with the filter
> effect applied to the group as a whole.
> The ‘filter’ property has no effect on the geometry of the target element's
> CSS boxes, even though ‘filter’ can cause painting outside of an element's
> border-box.
> The compositing model follows the SVG compositing model: first any filter
> effect is applied, then any clipping, masking and/or group opacity. These
> effects all apply after any other CSS effects such as 'clip'. As per SVG,
> the application of ‘filter’ has no effect on mouse event hit-testing.
>

This all matches what Gecko does, so I like it :-).

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Thursday, 31 March 2011 02:35:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 31 March 2011 02:35:10 GMT