SVG features are disabled when javascript.enabled is set to false.
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: HappySad, Unassigned)
Details
Attachments
(1 file)
621 bytes,
image/svg+xml
|
Details |
User Agent: Mozilla/5.0 (X11; Linux armv7l; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Open about:config and set javascript.enabled to false.
- Open the example SVG file https://www.w3.org/TR/SVG11/images/script/script01.svg and follow its instructions (activating the red circle).
Actual results:
The red circle does not change in size.
Expected results:
The red circle should have changed in size, as it does with javascript.enabled set to true.
Comment 1•4 years ago
|
||
The size change is accomplished by javascript.
I apologize. That was a poor example.
Please evaluate the new example and update this bug's status accordingly.
Comment 4•4 years ago
|
||
SMIL is not interactive unless javascript is enabled for security (see bug 704482). I'm afraid this is still invalid.
You can still use SMIL, you just can't trigger it with the mouse or keyboard.
Updated•4 years ago
|
Thank you.
In short, javascript.enabled
does not merely enable/disable JavaScript but affects other security-related behavior as well. That is confusing. The setting should probably be renamed.
Comment 6•4 years ago
|
||
The tail does not wag the dog. SVG is 0.0001% of the web. I'm afraid changing javascript.enabled because it has an unexpected security effect on SVG isn't going to happen.
By that logic, you are subscribed to the tail's bug tracker. I am grateful for the reply but not the faulty reasoning.
This is a bug. It is difficult to fix and will probably remain. I accept that and appreciate both Firefox and SVG regardless of their respective popularities (SVG currently at 27% of web sites, for posterity).
Comment 8•4 years ago
|
||
This is not a bug, we do it this way to protect you. As it isn't a bug, we won't be changing our behaviour here. If you want your SVG to be interactive, turn on javascript.
Description
•