caniuse icon indicating copy to clipboard operation
caniuse copied to clipboard

SVG 2 features

Open Fyrd opened this issue 10 years ago • 24 comments

SVG 2 features: https://www.w3.org/TR/SVG2/

  • stroke-alignment
  • shape-rendering
  • paint-order
  • context-stroke and context-fill

For more features please create new, separate issues. Votes should be made on individual features so they can be added to the site based on popularity.


This issue was imported from Google Moderator

Moderator votes: +9 Issue added by Bell on 2014-08-20

Fyrd avatar May 12 '15 04:05 Fyrd

I can add to this that some of the features in SVG 2 are available already, for example the paint-order property exists in Chrome and Firefox.

Llbe avatar May 12 '15 19:05 Llbe

+1

Llbe avatar May 12 '15 19:05 Llbe

+1

Ugoku avatar May 28 '15 13:05 Ugoku

+1

rotsee avatar Aug 22 '15 19:08 rotsee

+1

dcorb avatar Sep 16 '15 22:09 dcorb

+1

Schweinepriester avatar Oct 14 '15 12:10 Schweinepriester

+1

violacase avatar Nov 23 '15 03:11 violacase

+1 pleeasseee!!! We need more SVG more than ever!

Kay2dan avatar Nov 30 '15 17:11 Kay2dan

+1

neoncitylights avatar Nov 30 '15 21:11 neoncitylights

+1

pixeltherapy avatar Dec 15 '15 12:12 pixeltherapy

+1

sdras avatar Jan 26 '16 15:01 sdras

To clarify: this would not be one table, but many. Browsers are implementing individual features as the spec stabilizes and interest exists, they are not waiting to implement "SVG 2" all at once.

Some examples of features for which compatibility data would be useful:

AmeliaBR avatar Jan 26 '16 16:01 AmeliaBR

About paint-order: implemented in Firefox 31, Blink (since Chromium version 35), and WebKit (since March 2014) browsers. Internet Explorer and Edge use the default paint order. Based on this article of @AmeliaBR http://radar.oreilly.com/2015/11/elegant-outlines-with-svg-paint-order.html

dcorb avatar Jan 26 '16 16:01 dcorb

Also there is stroke-alignment: https://svgwg.org/specs/strokes/#SpecifyingStrokeAlignment

fabb avatar Nov 27 '16 14:11 fabb

+1 A compatibility check for <use href="..."> instead of <use xlink:href="..."> would be awesome.

Lucas-C avatar Jan 04 '17 12:01 Lucas-C

+1

adam77 avatar Jan 15 '17 22:01 adam77

+1

elliotchi avatar Feb 28 '17 01:02 elliotchi

+1, especially for z-index ordering.

naught101 avatar Jul 04 '17 06:07 naught101

+1

rlambertsen avatar Jun 22 '18 18:06 rlambertsen

The correct link for paint-order is https://github.com/Fyrd/caniuse/issues/3394

Oh and +1 BTW.

Herst avatar Jun 23 '18 10:06 Herst

Any updates on this? Would like to check support for geometry properties.

vwkd avatar Oct 04 '20 15:10 vwkd

I (and probably a lot of content creators) where misled under the belief that they can't use SVG 2 can't be used in web browsers, but the same way we didn't wait a decade for full support of CSS 3 to use the features, can I use should document the support for individual features of SVG 2. It seems chromium suppports ~40-50% of SVG 2 which is huge and enable many impacting usecases.

  1. it seems some have been documented e.g. https://caniuse.com/mdn-css_properties_paint-order but most have not
  2. they should be a naming convention/tag/ui to clarify that each feature is part of SVG 2 and a way in can I use (e.g. tag) to search them all at once so that you would easily get a list of each feature and quickly access their respective browser support.

https://bugs.chromium.org/p/chromium/issues/detail?id=225863 https://bugzilla.mozilla.org/show_bug.cgi?id=1328534 https://bugs.webkit.org/show_bug.cgi?id=191292

friendly pings @Schweinepriester @dstorey

LifeIsStrange avatar Sep 01 '22 09:09 LifeIsStrange

Paul Herbert, writing on the Cloud Four blog: So… you can set an SVG circle’s radius in CSS?

So, I tried it out… and it seemed to work! Well, at least in Firefox. With a bit of trepidation, I started testing in our other supported browsers. It worked in Chrome. It worked in Edge. It even worked in Safari!

[…]

My impression was that setting r from CSS was part of the SVG2 draft, but I didn’t think that was supported by any browsers, and VS Code doesn’t seem to like it. But it turns out that setting r is supported in all the browsers I care about?

[…]

Tyler and I tried to find mention of this new feature on caniuse, MDN, and various browser bug trackers but came up empty.

rianmurnen avatar Jan 24 '23 17:01 rianmurnen

I created issue #6593 for the inline-size attribute on the text element which is used for word wrapping.

vanillajonathan avatar Jan 30 '23 15:01 vanillajonathan