Custom SVG Elements state of play #5439
-
So I spent the weekend learning about custom web components with great success, until I tried to use them in an SVG setting (which I now know is not supported ). Does anyone know if there are plans for supporting custom SVG Elements in the future? FWIW my current workaround looks like:
Which is still jolly useful. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes. In W3C we are discussing enabling SVG custom elements. There are a couple capabilities that have to be added to enable that, but last time the CG met together, there was general consensus that we wanted to enable this and various implementors were looking into the details (and edge cases) in order to come up with an addition to the standards. |
Beta Was this translation helpful? Give feedback.
-
What's the current status? Can we now use the custom elements API to define new elements in the SVG namespace? |
Beta Was this translation helpful? Give feedback.
Yes. In W3C we are discussing enabling SVG custom elements. There are a couple capabilities that have to be added to enable that, but last time the CG met together, there was general consensus that we wanted to enable this and various implementors were looking into the details (and edge cases) in order to come up with an addition to the standards.