From 96a4fcdb6a2f9835679f730ce0388d6ce974b4bd Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Fri, 25 Feb 2022 18:11:51 +0900 Subject: [PATCH] Add spec URLs and MDN URLs for some non-obsolete SVG features lacking them Related: https://github.com/mdn/content/pull/13265#discussion_r814480265 Related: https://github.com/mdn/content/issues/13126 --- svg/elements/a.json | 2 ++ svg/elements/animate.json | 6 ++++++ svg/elements/animateMotion.json | 2 ++ svg/elements/feBlend.json | 2 ++ svg/elements/feComposite.json | 8 ++++++++ svg/elements/feDisplacementMap.json | 6 ++++++ svg/elements/feGaussianBlur.json | 2 ++ svg/elements/feMorphology.json | 2 ++ svg/elements/feSpecularLighting.json | 2 ++ svg/elements/feSpotLight.json | 8 ++++++++ svg/elements/linearGradient.json | 6 ++++++ svg/elements/marker.json | 8 ++++++++ svg/elements/mask.json | 4 ++++ svg/elements/pattern.json | 6 ++++++ svg/elements/radialGradient.json | 6 ++++++ svg/elements/style.json | 2 ++ svg/elements/textPath.json | 6 ++++++ 17 files changed, 78 insertions(+) diff --git a/svg/elements/a.json b/svg/elements/a.json index 04b52f52eecf75..506facedefe715 100644 --- a/svg/elements/a.json +++ b/svg/elements/a.json @@ -350,6 +350,8 @@ }, "target": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/target", + "spec_url": "https://svgwg.org/svg2-draft/linking.html#AElementTargetAttribute", "support": { "chrome": { "version_added": "1" diff --git a/svg/elements/animate.json b/svg/elements/animate.json index 471afa2e772026..9cdc29acbd2508 100644 --- a/svg/elements/animate.json +++ b/svg/elements/animate.json @@ -145,6 +145,8 @@ }, "dur": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/dur", + "spec_url": "https://svgwg.org/specs/animations/#DurAttribute", "support": { "chrome": { "version_added": null @@ -192,6 +194,8 @@ }, "from": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/from", + "spec_url": "https://svgwg.org/specs/animations/#FromAttribute", "support": { "chrome": { "version_added": null @@ -239,6 +243,8 @@ }, "repeatCount": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/repeatCount", + "spec_url": "https://svgwg.org/specs/animations/#RepeatCountAttribute", "support": { "chrome": { "version_added": null diff --git a/svg/elements/animateMotion.json b/svg/elements/animateMotion.json index 06674f23df7b95..ba8dd922410541 100644 --- a/svg/elements/animateMotion.json +++ b/svg/elements/animateMotion.json @@ -98,6 +98,8 @@ }, "keyPoints": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/keyPoints", + "spec_url": "https://svgwg.org/specs/animations/#KeyPointsAttribute", "support": { "chrome": { "version_added": null diff --git a/svg/elements/feBlend.json b/svg/elements/feBlend.json index 9ef8419934d932..4a449d4409d460 100644 --- a/svg/elements/feBlend.json +++ b/svg/elements/feBlend.json @@ -145,6 +145,8 @@ }, "mode": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/mode", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feblend-mode", "support": { "chrome": { "version_added": true diff --git a/svg/elements/feComposite.json b/svg/elements/feComposite.json index d32ca9b90037ea..5ef5232c9d7653 100644 --- a/svg/elements/feComposite.json +++ b/svg/elements/feComposite.json @@ -147,6 +147,8 @@ }, "k1": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k1", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k1", "support": { "chrome": { "version_added": "1" @@ -194,6 +196,8 @@ }, "k2": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k2", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k2", "support": { "chrome": { "version_added": "1" @@ -241,6 +245,8 @@ }, "k3": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k3", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k3", "support": { "chrome": { "version_added": "1" @@ -288,6 +294,8 @@ }, "k4": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k4", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k4", "support": { "chrome": { "version_added": "1" diff --git a/svg/elements/feDisplacementMap.json b/svg/elements/feDisplacementMap.json index 7a678ba5d4cc6d..da3e0f37572181 100644 --- a/svg/elements/feDisplacementMap.json +++ b/svg/elements/feDisplacementMap.json @@ -145,6 +145,8 @@ }, "scale": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/scale", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-scale", "support": { "chrome": { "version_added": true @@ -192,6 +194,8 @@ }, "xChannelSelector": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/xChannelSelector", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-xchannelselector", "support": { "chrome": { "version_added": null @@ -239,6 +243,8 @@ }, "yChannelSelector": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/yChannelSelector", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-ychannelselector", "support": { "chrome": { "version_added": null diff --git a/svg/elements/feGaussianBlur.json b/svg/elements/feGaussianBlur.json index b7d6b9aa7b81e5..92e0a3917814f5 100644 --- a/svg/elements/feGaussianBlur.json +++ b/svg/elements/feGaussianBlur.json @@ -145,6 +145,8 @@ }, "stdDeviation": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/stdDeviation", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fegaussianblur-stddeviation", "support": { "chrome": { "version_added": true diff --git a/svg/elements/feMorphology.json b/svg/elements/feMorphology.json index c123b42b5259d6..680b3c314900db 100644 --- a/svg/elements/feMorphology.json +++ b/svg/elements/feMorphology.json @@ -193,6 +193,8 @@ }, "radius": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/radius", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-femorphology-radius", "support": { "chrome": { "version_added": true diff --git a/svg/elements/feSpecularLighting.json b/svg/elements/feSpecularLighting.json index d3661c26bec2cb..000a0f4427b310 100644 --- a/svg/elements/feSpecularLighting.json +++ b/svg/elements/feSpecularLighting.json @@ -145,6 +145,8 @@ }, "specularConstant": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/specularConstant", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-specularconstant", "support": { "chrome": { "version_added": true diff --git a/svg/elements/feSpotLight.json b/svg/elements/feSpotLight.json index a65cfc0d9e3ad7..782ff84f9cdefb 100644 --- a/svg/elements/feSpotLight.json +++ b/svg/elements/feSpotLight.json @@ -51,6 +51,8 @@ }, "limitingConeAngle": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/limitingConeAngle", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-limitingconeangle", "support": { "chrome": { "version_added": true @@ -98,6 +100,8 @@ }, "pointsAtX": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtX", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatx", "support": { "chrome": { "version_added": true @@ -145,6 +149,8 @@ }, "pointsAtY": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtY", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsaty", "support": { "chrome": { "version_added": true @@ -192,6 +198,8 @@ }, "pointsAtZ": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtZ", + "spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatz", "support": { "chrome": { "version_added": true diff --git a/svg/elements/linearGradient.json b/svg/elements/linearGradient.json index f70c3d213e460d..509ff710de25bf 100644 --- a/svg/elements/linearGradient.json +++ b/svg/elements/linearGradient.json @@ -51,6 +51,12 @@ }, "gradientTransform": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/gradientTransform", + "spec_url": [ + "https://drafts.csswg.org/css-transforms/#typedef-transform-list", + "https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute", + "https://svgwg.org/svg2-draft/pservers.html#RadialGradientElementGradientTransformAttribute" + ], "support": { "chrome": { "version_added": null diff --git a/svg/elements/marker.json b/svg/elements/marker.json index 90b158b9014bf0..1a1479acc4b279 100644 --- a/svg/elements/marker.json +++ b/svg/elements/marker.json @@ -51,6 +51,8 @@ }, "markerHeight": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/markerHeight", + "spec_url": "https://svgwg.org/svg2-draft/painting.html#MarkerHeightAttribute", "support": { "chrome": { "version_added": true @@ -98,6 +100,8 @@ }, "markerUnits": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/markerUnits", + "spec_url": "https://svgwg.org/svg2-draft/painting.html#MarkerUnitsAttribute", "support": { "chrome": { "version_added": true @@ -145,6 +149,8 @@ }, "markerWidth": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/markerWidth", + "spec_url": "https://svgwg.org/svg2-draft/painting.html#MarkerWidthAttribute", "support": { "chrome": { "version_added": true @@ -192,6 +198,8 @@ }, "orient": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/orient", + "spec_url": "https://svgwg.org/svg2-draft/painting.html#OrientAttribute", "support": { "chrome": { "version_added": true diff --git a/svg/elements/mask.json b/svg/elements/mask.json index 451c74f4d190c8..15afe58bc4b7a0 100644 --- a/svg/elements/mask.json +++ b/svg/elements/mask.json @@ -98,6 +98,8 @@ }, "maskContentUnits": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/maskContentUnits", + "spec_url": "https://drafts.fxtf.org/css-masking-1/#element-attrdef-mask-maskcontentunits", "support": { "chrome": { "version_added": null @@ -145,6 +147,8 @@ }, "maskUnits": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/maskUnits", + "spec_url": "https://drafts.fxtf.org/css-masking-1/#element-attrdef-mask-maskunits", "support": { "chrome": { "version_added": null diff --git a/svg/elements/pattern.json b/svg/elements/pattern.json index e5b68b02713856..15420b1a311201 100644 --- a/svg/elements/pattern.json +++ b/svg/elements/pattern.json @@ -145,6 +145,8 @@ }, "patternContentUnits": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/patternContentUnits", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#PatternElementPatternContentUnitsAttribute", "support": { "chrome": { "version_added": null @@ -192,6 +194,8 @@ }, "patternTransform": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/patternTransform", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#PatternElementPatternTransformAttribute", "support": { "chrome": { "version_added": null @@ -239,6 +243,8 @@ }, "patternUnits": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/patternUnits", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#PatternElementPatternUnitsAttribute", "support": { "chrome": { "version_added": null diff --git a/svg/elements/radialGradient.json b/svg/elements/radialGradient.json index bd6d9c57e84d85..645fca2fac292b 100644 --- a/svg/elements/radialGradient.json +++ b/svg/elements/radialGradient.json @@ -145,6 +145,8 @@ }, "fr": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/fr", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#RadialGradientElementFRAttribute", "support": { "chrome": { "version_added": null @@ -192,6 +194,8 @@ }, "fx": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/fx", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#RadialGradientElementFXAttribute", "support": { "chrome": { "version_added": null @@ -239,6 +243,8 @@ }, "fy": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/fy", + "spec_url": "https://svgwg.org/svg2-draft/pservers.html#RadialGradientElementFYAttribute", "support": { "chrome": { "version_added": null diff --git a/svg/elements/style.json b/svg/elements/style.json index 351e573e95c447..44dfdca12edf82 100644 --- a/svg/elements/style.json +++ b/svg/elements/style.json @@ -51,6 +51,8 @@ }, "media": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/media", + "spec_url": "https://svgwg.org/svg2-draft/styling.html#StyleElementMediaAttribute", "support": { "chrome": { "version_added": null diff --git a/svg/elements/textPath.json b/svg/elements/textPath.json index 71dccf3de5f647..8750e075b7b97e 100644 --- a/svg/elements/textPath.json +++ b/svg/elements/textPath.json @@ -155,6 +155,8 @@ }, "side": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/side", + "spec_url": "https://svgwg.org/svg2-draft/text.html#TextPathElementSideAttribute", "support": { "chrome": { "version_added": false @@ -202,6 +204,8 @@ }, "spacing": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/spacing", + "spec_url": "https://svgwg.org/svg2-draft/text.html#TextPathElementSpacingAttribute", "support": { "chrome": { "version_added": null @@ -249,6 +253,8 @@ }, "startOffset": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/startOffset", + "spec_url": "https://svgwg.org/svg2-draft/text.html#TextPathElementStartOffsetAttribute", "support": { "chrome": { "version_added": true