3 ms·
But we're explicitly criticizing SVG's design! SVG doesn't contain horrible things by accident of implementation, it was specified to contain those horrible thi
by yencabulator 3y ago
But we're explicitly criticizing SVG's design! SVG doesn't contain horrible things by accident of implementation, it was specified to contain those horrible things.
Defending against this criticism by saying the behavior is in the spec is not relevant.
- cbsmith 3y agoI think you're missing that it was a design goal to have that support in the spec. Scripting was a requirement, not a design choice.
- yencabulator 3y agoThen Javascript inside SVG should not have any power over the HTML page it's contained in.
- cbsmith 3y agoAt the time, it's not what people wanted. It was pretty common for Flash apps to have access to the whole page.