MDN URL
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feOffset
What specific section or headline is this issue about?
Example
What information was incorrect, unhelpful, or incomplete?
The example gives this code for an offset filter:
<filter id="offset" width="180" height="180">
On first read, this might suggest to users that the resulting filter will be 180px wide. This is not the case; as per the filter-effects spec:
If filterUnits is equal to objectBoundingBox, then x, y, width, height represent fractions or percentages of the bounding box on the referencing element (see object bounding box units).
The initial value for filterUnits is objectBoundingBox.
So basically, the value is interpreted as "18000%", which is visually correct but wildly oversized.
What did you expect to see?
<filter id="offset" width="180" height="180" filterUnits="userSpaceOnUse">
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
MDN URL
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/feOffset
What specific section or headline is this issue about?
Example
What information was incorrect, unhelpful, or incomplete?
The example gives this code for an offset filter:
On first read, this might suggest to users that the resulting filter will be 180px wide. This is not the case; as per the filter-effects spec:
So basically, the value is interpreted as "18000%", which is visually correct but wildly oversized.
What did you expect to see?
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/svg/reference/element/feoffset