Open Bug 1467402 Opened 6 years ago Updated 2 years ago

Reader mode, SVG and use elements

Categories

(Toolkit :: Reader Mode, defect, P3)

60 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: peter, Unassigned)

References

()

Details

(Whiteboard: [reader-mode-readability-algorithm])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180517114003

Steps to reproduce:

Spin-off from https://bugzilla.mozilla.org/show_bug.cgi?id=1466044.

Reader mode (perhaps only sometimes) removes the target of a use element's href attribute. Reader mode (sometimes) also strips the href attribute from the use element (though in the example below it does not - see the other bug for an example.)

1. Visit http://output.jsbin.com/ninehumeba
2. Switch to reader mode



Actual results:

The SVG containing the <defs> is removed, making the use element fizzle, breaking the SVG content.


Expected results:

The SVG content should display correctly.
Component: Untriaged → Reader Mode
Product: Firefox → Toolkit
Thanks for the bug report and the test case! This seems like a P3 to me.
Priority: -- → P3
Whiteboard: [reader-mode-readability-algorithm]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.