Open Bug 1067355 Opened 10 years ago Updated 2 years ago

BBox for non-SVG elements should be the bounding client rect, not the pre-filter overflow rect

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

Details

Attachments

(1 file)

https://dvcs.w3.org/hg/FXTF/raw-file/default/filters/Publish.html#object-bounding-box-units says that lengths that are relative to the filtered object's bounding box, on non-SVG elements, should be relative to the element's bounding client rect, i.e. "the union of all border boxes". At the moment we use the pre-filter overflow rect for non-SVG elements.
I'm trying to figure out if this this the bug causing the incorrect behaviour in this CodePen: https://codepen.io/anon/pen/opqLvO Shows only a quarter of the righthand circle in Firefox 52.5.2 ESR (Linux) and Firefox 57.0 Quantum on MacOS 10.12.6. Works correctly on Chrome & Safari.
(In reply to Robert Scott from comment #2) > I'm trying to figure out if this this the bug causing the incorrect > behaviour in this CodePen: https://codepen.io/anon/pen/opqLvO > > Shows only a quarter of the righthand circle in Firefox 52.5.2 ESR (Linux) > and Firefox 57.0 Quantum on MacOS 10.12.6. Works correctly on Chrome & > Safari. I don't think so. If you use SVG style attribute transforms rather than CSS transforms it work. Raise your own bug to track this problem.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: