Skip to content

Commit 4d8ed08

Browse files
Add some spec URLs for SVG features lacking them (#15114)
1 parent b70a1be commit 4d8ed08

24 files changed

+136
-0
lines changed

svg/elements/a.json

+2
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@
350350
},
351351
"target": {
352352
"__compat": {
353+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/target",
354+
"spec_url": "https://svgwg.org/svg2-draft/linking.html#AElementTargetAttribute",
353355
"support": {
354356
"chrome": {
355357
"version_added": "1"

svg/elements/altGlyph.json

+10
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@
147147
},
148148
"format": {
149149
"__compat": {
150+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/format",
151+
"spec_url": [
152+
"https://www.w3.org/TR/SVG11/text.html#GlyphRefElementFormatAttribute",
153+
"https://www.w3.org/TR/SVG11/text.html#AltGlyphElementFormatAttribute"
154+
],
150155
"support": {
151156
"chrome": {
152157
"version_added": null
@@ -194,6 +199,11 @@
194199
},
195200
"glyphRef": {
196201
"__compat": {
202+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/glyphRef",
203+
"spec_url": [
204+
"https://www.w3.org/TR/SVG11/text.html#GlyphRefElementGlyphRefAttribute",
205+
"https://www.w3.org/TR/SVG11/text.html#AltGlyphElementGlyphRefAttribute"
206+
],
197207
"support": {
198208
"chrome": {
199209
"version_added": null

svg/elements/animate.json

+6
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
},
146146
"dur": {
147147
"__compat": {
148+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/dur",
149+
"spec_url": "https://svgwg.org/specs/animations/#DurAttribute",
148150
"support": {
149151
"chrome": {
150152
"version_added": null
@@ -192,6 +194,8 @@
192194
},
193195
"from": {
194196
"__compat": {
197+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/from",
198+
"spec_url": "https://svgwg.org/specs/animations/#FromAttribute",
195199
"support": {
196200
"chrome": {
197201
"version_added": null
@@ -239,6 +243,8 @@
239243
},
240244
"repeatCount": {
241245
"__compat": {
246+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/repeatCount",
247+
"spec_url": "https://svgwg.org/specs/animations/#RepeatCountAttribute",
242248
"support": {
243249
"chrome": {
244250
"version_added": null

svg/elements/animateMotion.json

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
},
9999
"keyPoints": {
100100
"__compat": {
101+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/keyPoints",
102+
"spec_url": "https://svgwg.org/specs/animations/#KeyPointsAttribute",
101103
"support": {
102104
"chrome": {
103105
"version_added": null

svg/elements/feBlend.json

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
},
146146
"mode": {
147147
"__compat": {
148+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/mode",
149+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-feblend-mode",
148150
"support": {
149151
"chrome": {
150152
"version_added": true

svg/elements/feComposite.json

+8
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
},
148148
"k1": {
149149
"__compat": {
150+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k1",
151+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k1",
150152
"support": {
151153
"chrome": {
152154
"version_added": "1"
@@ -194,6 +196,8 @@
194196
},
195197
"k2": {
196198
"__compat": {
199+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k2",
200+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k2",
197201
"support": {
198202
"chrome": {
199203
"version_added": "1"
@@ -241,6 +245,8 @@
241245
},
242246
"k3": {
243247
"__compat": {
248+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k3",
249+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k3",
244250
"support": {
245251
"chrome": {
246252
"version_added": "1"
@@ -288,6 +294,8 @@
288294
},
289295
"k4": {
290296
"__compat": {
297+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k4",
298+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fecomposite-k4",
291299
"support": {
292300
"chrome": {
293301
"version_added": "1"

svg/elements/feDisplacementMap.json

+6
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
},
146146
"scale": {
147147
"__compat": {
148+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/scale",
149+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-scale",
148150
"support": {
149151
"chrome": {
150152
"version_added": true
@@ -192,6 +194,8 @@
192194
},
193195
"xChannelSelector": {
194196
"__compat": {
197+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/xChannelSelector",
198+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-xchannelselector",
195199
"support": {
196200
"chrome": {
197201
"version_added": null
@@ -239,6 +243,8 @@
239243
},
240244
"yChannelSelector": {
241245
"__compat": {
246+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/yChannelSelector",
247+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fedisplacementmap-ychannelselector",
242248
"support": {
243249
"chrome": {
244250
"version_added": null

svg/elements/feGaussianBlur.json

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
},
146146
"stdDeviation": {
147147
"__compat": {
148+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/stdDeviation",
149+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fegaussianblur-stddeviation",
148150
"support": {
149151
"chrome": {
150152
"version_added": true

svg/elements/feMorphology.json

+2
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@
193193
},
194194
"radius": {
195195
"__compat": {
196+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/radius",
197+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-femorphology-radius",
196198
"support": {
197199
"chrome": {
198200
"version_added": true

svg/elements/feSpecularLighting.json

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@
145145
},
146146
"specularConstant": {
147147
"__compat": {
148+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/specularConstant",
149+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespecularlighting-specularconstant",
148150
"support": {
149151
"chrome": {
150152
"version_added": true

svg/elements/feSpotLight.json

+8
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
},
5252
"limitingConeAngle": {
5353
"__compat": {
54+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/limitingConeAngle",
55+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-limitingconeangle",
5456
"support": {
5557
"chrome": {
5658
"version_added": true
@@ -98,6 +100,8 @@
98100
},
99101
"pointsAtX": {
100102
"__compat": {
103+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtX",
104+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatx",
101105
"support": {
102106
"chrome": {
103107
"version_added": true
@@ -145,6 +149,8 @@
145149
},
146150
"pointsAtY": {
147151
"__compat": {
152+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtY",
153+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsaty",
148154
"support": {
149155
"chrome": {
150156
"version_added": true
@@ -192,6 +198,8 @@
192198
},
193199
"pointsAtZ": {
194200
"__compat": {
201+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointsAtZ",
202+
"spec_url": "https://drafts.fxtf.org/filter-effects/#element-attrdef-fespotlight-pointsatz",
195203
"support": {
196204
"chrome": {
197205
"version_added": true

svg/elements/font-face-format.json

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
},
5252
"string": {
5353
"__compat": {
54+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/string",
55+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#FontFaceFormatElementStringAttribute",
5456
"support": {
5557
"chrome": {
5658
"version_added": null

svg/elements/font.json

+18
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@
7171
},
7272
"horiz-adv-x": {
7373
"__compat": {
74+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/horiz-adv-x",
75+
"spec_url": [
76+
"https://www.w3.org/TR/SVG11/fonts.html#GlyphElementHorizAdvXAttribute",
77+
"https://www.w3.org/TR/SVG11/fonts.html#FontElementHorizAdvXAttribute"
78+
],
7479
"support": {
7580
"chrome": {
7681
"version_added": false
@@ -118,6 +123,8 @@
118123
},
119124
"horiz-origin-x": {
120125
"__compat": {
126+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/horiz-origin-x",
127+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#FontElementHorizOriginXAttribute",
121128
"support": {
122129
"chrome": {
123130
"version_added": false
@@ -165,6 +172,8 @@
165172
},
166173
"horiz-origin-y": {
167174
"__compat": {
175+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/horiz-origin-y",
176+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#FontElementHorizOriginYAttribute",
168177
"support": {
169178
"chrome": {
170179
"version_added": false
@@ -212,6 +221,11 @@
212221
},
213222
"vert-adv-y": {
214223
"__compat": {
224+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/vert-adv-y",
225+
"spec_url": [
226+
"https://www.w3.org/TR/SVG11/fonts.html#GlyphElementVertAdvYAttribute",
227+
"https://www.w3.org/TR/SVG11/fonts.html#FontElementVertAdvYAttribute"
228+
],
215229
"support": {
216230
"chrome": {
217231
"version_added": false
@@ -259,6 +273,8 @@
259273
},
260274
"vert-origin-x": {
261275
"__compat": {
276+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/vert-origin-x",
277+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#FontElementVertOriginXAttribute",
262278
"support": {
263279
"chrome": {
264280
"version_added": false
@@ -306,6 +322,8 @@
306322
},
307323
"vert-origin-y": {
308324
"__compat": {
325+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/vert-origin-y",
326+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#FontElementVertOriginYAttribute",
309327
"support": {
310328
"chrome": {
311329
"version_added": false

svg/elements/glyph.json

+8
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
},
5252
"arabic-form": {
5353
"__compat": {
54+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/arabic-form",
55+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#GlyphElementArabicFormAttribute",
5456
"support": {
5557
"chrome": {
5658
"version_added": null
@@ -145,6 +147,8 @@
145147
},
146148
"glyph-name": {
147149
"__compat": {
150+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/glyph-name",
151+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#GlyphElementGlyphNameAttribute",
148152
"support": {
149153
"chrome": {
150154
"version_added": null
@@ -286,6 +290,8 @@
286290
},
287291
"orientation": {
288292
"__compat": {
293+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/orientation",
294+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#GlyphElementOrientationAttribute",
289295
"support": {
290296
"chrome": {
291297
"version_added": null
@@ -333,6 +339,8 @@
333339
},
334340
"unicode": {
335341
"__compat": {
342+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/unicode",
343+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#GlyphElementUnicodeAttribute",
336344
"support": {
337345
"chrome": {
338346
"version_added": null

svg/elements/hkern.json

+10
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
},
5252
"g1": {
5353
"__compat": {
54+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/g1",
55+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#HKernElementG1Attribute",
5456
"support": {
5557
"chrome": {
5658
"version_added": null
@@ -98,6 +100,8 @@
98100
},
99101
"g2": {
100102
"__compat": {
103+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/g2",
104+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#HKernElementG2Attribute",
101105
"support": {
102106
"chrome": {
103107
"version_added": null
@@ -145,6 +149,8 @@
145149
},
146150
"k": {
147151
"__compat": {
152+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/k",
153+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#HKernElementKAttribute",
148154
"support": {
149155
"chrome": {
150156
"version_added": null
@@ -192,6 +198,8 @@
192198
},
193199
"u1": {
194200
"__compat": {
201+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/u1",
202+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#HKernElementU1Attribute",
195203
"support": {
196204
"chrome": {
197205
"version_added": null
@@ -239,6 +247,8 @@
239247
},
240248
"u2": {
241249
"__compat": {
250+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/u2",
251+
"spec_url": "https://www.w3.org/TR/SVG11/fonts.html#HKernElementU2Attribute",
242252
"support": {
243253
"chrome": {
244254
"version_added": null

svg/elements/linearGradient.json

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
},
5252
"gradientTransform": {
5353
"__compat": {
54+
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/gradientTransform",
55+
"spec_url": [
56+
"https://drafts.csswg.org/css-transforms/#typedef-transform-list",
57+
"https://svgwg.org/svg2-draft/pservers.html#LinearGradientElementGradientTransformAttribute",
58+
"https://svgwg.org/svg2-draft/pservers.html#RadialGradientElementGradientTransformAttribute"
59+
],
5460
"support": {
5561
"chrome": {
5662
"version_added": null

0 commit comments

Comments
 (0)