Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate definitions of SVGPathElement and SVGMarkerElement #824

Open
foolip opened this issue Feb 12, 2021 · 5 comments
Open

Duplicate definitions of SVGPathElement and SVGMarkerElement #824

foolip opened this issue Feb 12, 2021 · 5 comments

Comments

@foolip
Copy link
Member

foolip commented Feb 12, 2021

SVGPathElement is defined in both the main spec and in SVG Paths:

SVGMarkerElement is defined in both the main spec and in SVG Markers:

I'm not sure which is newer, but duplicated IDL definitions makes for trouble for tooling interpreting all of the web platform's IDL, which is how I encountered this issue.

@foolip
Copy link
Member Author

foolip commented Feb 19, 2021

Per #818 it seems like the SVGPathElement in https://svgwg.org/specs/paths/#InterfaceSVGPathElement should be ignored.

@tabatkins do you know about SVGMarkerElement, which definition is the maintained one, and should the other be removed?

@tabatkins
Copy link
Member

I'm not sure why these sub-specs exist in the first place, actually. I assume SVG2 is meant to be the canonical source of these things.

As the listed editor, hopefully @heycam can answer whether the Markers spec should be looked to at all, or tombstoned as a dead spec?

@heycam
Copy link
Contributor

heycam commented Feb 26, 2021

The Paths and Markers specs were created to hold features that were added in SVG 2, which didn't currently have enough interest to warrant holding SVG 2 back. The markers features were ones I added, so I kind of like them. :-) But there's no implementation interest in them. If these specs are getting in the way because of their duplicate definitions, we could mark them as dead. (Is that a Bikeshed thing?)

cc @AmeliaBR

@AmeliaBR
Copy link
Contributor

AmeliaBR commented Mar 4, 2021

As Cameron said, the specs in https://svgwg.org/specs/ were designed to eventually extend & replace sections of SVG 2 (e.g., they would collectively be SVG Level 3). But they are incomplete drafts, and are not being maintained, so they should be classified only as rough proposals. Some of them are now in conflict with more advanced CSS specs, for example.
The only exception is the SVG animations Level 2 spec, which exists in parallel to SVG 2 as way of maintaining a specification of the SMIL elements, slightly updated from SVG 1.1.

If there's some metadata that can be added that would help with the scraper issues, let us know (ideally via PR, as the SVGWG is currently more of a theoretical entity.) I'm not sure if it's possible to un-publish the ones that were released as working drafts. I suppose we could temporarily overwrite the TR with empty Notes? @svgeesus would know more about options from a publishing/process perspective.

@foolip
Copy link
Member Author

foolip commented Mar 4, 2021

@dontcallmedom @tidoust perhaps the simplest approach here is to move the specs in question to the monitoring list in browser-specs?

dontcallmedom added a commit to w3c/browser-specs that referenced this issue Mar 5, 2021
Per w3c/svgwg#824 (comment) they're incomplete and unmaintained, and they end up creating conflicting IDL views with the main SVG2 specs.

They're included both with their editors and TR urls since they can't be tracked at the repo level (multi-spec repo).
tidoust pushed a commit to w3c/browser-specs that referenced this issue Mar 5, 2021
Per w3c/svgwg#824 (comment) they're incomplete and unmaintained, and they end up creating conflicting IDL views with the main SVG2 specs.

They're included both with their editors and TR urls since they can't be tracked at the repo level (multi-spec repo).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants