SVG filters feImage with xlink:href doesn't work with fragments
Categories
(Core :: SVG, defect)
Tracking
()
Tracking | Status | |
---|---|---|
status2.0 | --- | wanted |
People
(Reporter: hansschmucker, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Updated•16 years ago
|
Reporter | ||
Updated•16 years ago
|
Comment 2•16 years ago
|
||
Comment 4•16 years ago
|
||
Updated•15 years ago
|
Updated•15 years ago
|
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
Updated•14 years ago
|
Comment 8•12 years ago
|
||
Comment 10•11 years ago
|
||
Comment hidden (me-too) |
Comment hidden (obsolete) |
Comment hidden (off-topic) |
Comment 16•11 years ago
|
||
Updated•10 years ago
|
Comment hidden (off-topic) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•9 years ago
|
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 25•4 years ago
|
||
I'm adding the note to the BCD for feImage to the xlink:href variable to cover this case.
""notes": "Document fragments (including references to fragments in current document) are not supported (see <a href='https://bugzil.la/455986 '>bug 455986</a>).""
- Does the bug also apply to
href
(or justxlink:href
)? - Would this also impact SVGFEImageElement and if so, how? (i.e. can't see an href or xlink:href variable).
- Is there a better way to describe the above note?
Comment 26•4 years ago
|
||
- yes, both.
- That page says that SVGFEImageElement implements the properties of SVGURIReference so we do document that already.
- sure that seems fine.
Updated•4 years ago
|
Comment 28•3 years ago
|
||
I gave this a shot, but it is a bit harder than it seems...
Apart of the hard-coded intrinsic sizes and such (which obviously would
need to be fixed), the main issue is that we query filter bounds from
layout, to compute overflow rects, but:
-
SVGFEImageElement::GetPrimitiveDescription works by querying the
filter surfaces, which need painting, and we shouldn't start painting
from layout. So we'd need a way to query filter bounds without a
full-fledged GetPrimitiveDescription, which I don't know how hard is
it. -
The target element might not be reflowed yet, so we might not know
its bounds (we might get away with only supporting some SVG frames we
know the intrinsic dimensions of).
With that fixed, something like this ought to do, but that's not quite
easy to fix...
Updated•2 years ago
|
Comment 29•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 5 duplicates and 24 votes.
:jwatt, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 30•2 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Description
•