-
Notifications
You must be signed in to change notification settings - Fork 33
SVG 1.1 and 2.0 #214
Description
Description
SVG is an indispensable tool for developers, from UI, through design elements, creating charts and visualizations, to creating special visual effects, and much more.
Current implementation is the SVG 1.1 with outstanding compat issues - missing features and bugs - and some parts, in varying levels, from the SVG 2 spec.
There are endless posts on the web on using SVG for developers and designers alike.
Many widely used libraries render to SVG, like D3, Three, and Lottie.
There are many tools and companies that have been built over it, like: Canva, SVGator, and LottieFiles.
Rationale
Since the proposal for adding SVG as a focus area proposal for Interop 23 didn't seem to move forward in #147, I propose we investigate a way of whether we can put SVG dev back on track, so that it can, perhaps, become a focus for Interop 24.
WPT for SVG 1.1
Old tests (in obsolete format) are located in the import directory (not visible on the site) with notes in the README:
The import directory contains tests imported from the SVG 1.1 Second Edition test suite, with tests renamed to contain -manual in their name. These tests need review to verify that they are still correct for the latest version of SVG (which at the time of writing is SVG 2) and then need to be converted to reftests or testharness.js-based tests.
...
And further instructions on how to handle those.
WPT for SVG 2
All of the tests at wpt.fyi/results/svg are for SVG 2
Browser bugs
A quick search shows these:
Investigation Roadmap
- Initiate a discussion on:
- to resolve whether implementors can/will commit to continue work on SVG to a level of reasonable web compatibility/interoperability
- What should be the way forward for WPT for SVG 1.1 (convert old tests/write new tests/delete old tests and write new ones against existing open issues/other)?
- What should be the way forward for SVG 2? Can/will there be an agreed level of an interoperable implementation?
- Do we need extra input from the community (surveys/other)?
- Given there's a substantial intent, resolve on action for WPTs for SVG 1.1 and 2
- Review existing bugs and map highly requested/critical ones against WPTs
In my most naïve stance I suppose these could pave a way for considering focus on SVG at Interop 24.