W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > June 2019

Re: [fxtf-drafts] [filter-effects][css-masking][fill-stroke] clarify userSpaceOnUse / objectBoundingBox applied to non-SVG elements (#249)

From: Markus Stange via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Jun 2019 18:51:27 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-499621311-1559847086-sysbot+gh@w3.org>
> * For `objectBoundingBox` (blue and green), Firefox & Chrome are consistent with each other, using the `border-box` as the bounding box, and creating a filter region that is 1.5 times the border-box width and half its height, and adjusting the box for transforms.

There is actually a Firefox bug here which means that this is not entirely true: If the element has overflow, e.g. due to box-shadow, then Firefox enlarges the `objectBoundingBox` to include that overflow. This is tracked in [bug 1067355](https://bugzilla.mozilla.org/show_bug.cgi?id=1067355).

-- 
GitHub Notification of comment by mstange
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/249#issuecomment-499621311 using your GitHub account
Received on Thursday, 6 June 2019 18:51:29 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 6 June 2019 18:51:30 UTC