Update spec link for CSS/SVG presentation attribute properties [o-z] (#25632)
diff --git a/css/properties/opacity.json b/css/properties/opacity.json
index 993b02e..913cc01 100644
--- a/css/properties/opacity.json
+++ b/css/properties/opacity.json
@@ -4,7 +4,10 @@
"opacity": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/opacity",
- "spec_url": "https://drafts.csswg.org/css-color/#transparency",
+ "spec_url": [
+ "https://drafts.csswg.org/css-color/#propdef-opacity",
+ "https://svgwg.org/svg2-draft/render.html#ObjectAndGroupOpacityProperties"
+ ],
"tags": [
"web-features:opacity"
],
diff --git a/css/properties/overflow.json b/css/properties/overflow.json
index 7aa5906..a8a88fe 100644
--- a/css/properties/overflow.json
+++ b/css/properties/overflow.json
@@ -4,7 +4,10 @@
"overflow": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overflow",
- "spec_url": "https://drafts.csswg.org/css-overflow/#propdef-overflow",
+ "spec_url": [
+ "https://drafts.csswg.org/css-overflow/#propdef-overflow",
+ "https://svgwg.org/svg2-draft/render.html#OverflowAndClipProperties"
+ ],
"tags": [
"web-features:overflow-shorthand"
],
diff --git a/css/properties/paint-order.json b/css/properties/paint-order.json
index 09738b0..d1d4d72 100644
--- a/css/properties/paint-order.json
+++ b/css/properties/paint-order.json
@@ -4,7 +4,7 @@
"paint-order": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/paint-order",
- "spec_url": "https://svgwg.org/svg2-draft/painting.html#PaintOrder",
+ "spec_url": "https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty",
"tags": [
"web-features:paint-order"
],
diff --git a/css/properties/text-anchor.json b/css/properties/text-anchor.json
index a469ef6..2b39e08 100644
--- a/css/properties/text-anchor.json
+++ b/css/properties/text-anchor.json
@@ -4,7 +4,7 @@
"text-anchor": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-anchor",
- "spec_url": "https://svgwg.org/svg2-draft/text.html#TextAnchoringProperties",
+ "spec_url": "https://svgwg.org/svg2-draft/text.html#TextAnchorProperty",
"tags": [
"web-features:svg"
],
diff --git a/css/properties/text-decoration.json b/css/properties/text-decoration.json
index bd70ad0..5356f32 100644
--- a/css/properties/text-decoration.json
+++ b/css/properties/text-decoration.json
@@ -4,7 +4,10 @@
"text-decoration": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-decoration",
- "spec_url": "https://drafts.csswg.org/css-text-decor/#text-decoration-property",
+ "spec_url": [
+ "https://drafts.csswg.org/css-text-decor/#text-decoration-property",
+ "https://svgwg.org/svg2-draft/text.html#TextDecorationProperties"
+ ],
"tags": [
"web-features:text-decoration"
],
diff --git a/css/properties/text-overflow.json b/css/properties/text-overflow.json
index 6a62e9a..37b6544 100644
--- a/css/properties/text-overflow.json
+++ b/css/properties/text-overflow.json
@@ -4,7 +4,10 @@
"text-overflow": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-overflow",
- "spec_url": "https://drafts.csswg.org/css-overflow/#text-overflow",
+ "spec_url": [
+ "https://drafts.csswg.org/css-overflow/#text-overflow",
+ "https://svgwg.org/svg2-draft/text.html#TextOverflowProperty"
+ ],
"tags": [
"web-features:text-overflow"
],
diff --git a/css/properties/transform.json b/css/properties/transform.json
index 950172e..c37f8eb 100644
--- a/css/properties/transform.json
+++ b/css/properties/transform.json
@@ -6,7 +6,8 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform",
"spec_url": [
"https://drafts.csswg.org/css-transforms-2/#transform-functions",
- "https://drafts.csswg.org/css-transforms/#transform-property"
+ "https://drafts.csswg.org/css-transforms/#transform-property",
+ "https://svgwg.org/svg2-draft/coords.html#TransformProperty"
],
"tags": [
"web-features:transforms2d"
diff --git a/css/properties/visibility.json b/css/properties/visibility.json
index e078333..bf7a249 100644
--- a/css/properties/visibility.json
+++ b/css/properties/visibility.json
@@ -4,7 +4,10 @@
"visibility": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/visibility",
- "spec_url": "https://drafts.csswg.org/css-display/#visibility",
+ "spec_url": [
+ "https://drafts.csswg.org/css-display/#visibility",
+ "https://svgwg.org/svg2-draft/render.html#VisibilityControl"
+ ],
"tags": [
"web-features:visibility"
],
diff --git a/css/properties/white-space.json b/css/properties/white-space.json
index 6423a8d..7552d57 100644
--- a/css/properties/white-space.json
+++ b/css/properties/white-space.json
@@ -4,7 +4,10 @@
"white-space": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/white-space",
- "spec_url": "https://drafts.csswg.org/css-text-4/#white-space-property",
+ "spec_url": [
+ "https://drafts.csswg.org/css-text-4/#white-space-property",
+ "https://svgwg.org/svg2-draft/text.html#TextWhiteSpace"
+ ],
"tags": [
"web-features:white-space"
],
diff --git a/css/properties/word-spacing.json b/css/properties/word-spacing.json
index bf2ca2b..b289613 100644
--- a/css/properties/word-spacing.json
+++ b/css/properties/word-spacing.json
@@ -4,7 +4,10 @@
"word-spacing": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/word-spacing",
- "spec_url": "https://drafts.csswg.org/css-text/#word-spacing-property",
+ "spec_url": [
+ "https://drafts.csswg.org/css-text/#word-spacing-property",
+ "https://svgwg.org/svg2-draft/text.html#WordSpacingProperty"
+ ],
"tags": [
"web-features:word-spacing"
],
diff --git a/css/properties/writing-mode.json b/css/properties/writing-mode.json
index ef97e11..d2e4220 100644
--- a/css/properties/writing-mode.json
+++ b/css/properties/writing-mode.json
@@ -4,7 +4,10 @@
"writing-mode": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/writing-mode",
- "spec_url": "https://drafts.csswg.org/css-writing-modes/#block-flow",
+ "spec_url": [
+ "https://drafts.csswg.org/css-writing-modes/#block-flow",
+ "https://svgwg.org/svg2-draft/text.html#WritingModeProperty"
+ ],
"tags": [
"web-features:writing-mode"
],
diff --git a/svg/global_attributes.json b/svg/global_attributes.json
index ecaf051..91f24e9 100644
--- a/svg/global_attributes.json
+++ b/svg/global_attributes.json
@@ -1990,7 +1990,7 @@
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/opacity",
"spec_url": [
- "https://drafts.csswg.org/css-color/#transparency",
+ "https://drafts.csswg.org/css-color/#propdef-opacity",
"https://svgwg.org/svg2-draft/render.html#ObjectAndGroupOpacityProperties"
],
"tags": [
@@ -2050,7 +2050,10 @@
"overflow": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/overflow",
- "spec_url": "https://svgwg.org/svg2-draft/render.html#OverflowAndClipProperties",
+ "spec_url": [
+ "https://drafts.csswg.org/css-overflow/#propdef-overflow",
+ "https://svgwg.org/svg2-draft/render.html#OverflowAndClipProperties"
+ ],
"tags": [
"web-features:svg"
],
@@ -2092,7 +2095,7 @@
"paint-order": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/paint-order",
- "spec_url": "https://svgwg.org/svg2-draft/painting.html#PaintOrder",
+ "spec_url": "https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty",
"tags": [
"web-features:paint-order"
],
@@ -2136,7 +2139,7 @@
"pointer-events": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/pointer-events",
- "spec_url": "https://svgwg.org/svg2-draft/interact.html#PointerEventsProp",
+ "spec_url": "https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty",
"tags": [
"web-features:svg"
],
@@ -2662,7 +2665,7 @@
"text-anchor": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/text-anchor",
- "spec_url": "https://svgwg.org/svg2-draft/text.html#TextAnchoringProperties",
+ "spec_url": "https://svgwg.org/svg2-draft/text.html#TextAnchorProperty",
"tags": [
"web-features:svg"
],
@@ -2747,7 +2750,7 @@
"text-overflow": {
"__compat": {
"spec_url": [
- "https://drafts.csswg.org/css-overflow-3/#text-overflow",
+ "https://drafts.csswg.org/css-overflow/#text-overflow",
"https://svgwg.org/svg2-draft/text.html#TextOverflowProperty"
],
"tags": [
@@ -2814,7 +2817,7 @@
"text-rendering": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/text-rendering",
- "spec_url": "https://svgwg.org/svg2-draft/painting.html#TextRendering",
+ "spec_url": "https://svgwg.org/svg2-draft/painting.html#TextRenderingProperty",
"tags": [
"web-features:svg"
],
@@ -3093,7 +3096,7 @@
"vector-effect": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/vector-effect",
- "spec_url": "https://svgwg.org/svg2-draft/coords.html#VectorEffects",
+ "spec_url": "https://svgwg.org/svg2-draft/coords.html#VectorEffectProperty",
"tags": [
"web-features:svg"
],
@@ -3131,7 +3134,10 @@
"visibility": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/visibility",
- "spec_url": "https://svgwg.org/svg2-draft/render.html#VisibilityControl",
+ "spec_url": [
+ "https://drafts.csswg.org/css-display/#visibility",
+ "https://svgwg.org/svg2-draft/render.html#VisibilityControl"
+ ],
"tags": [
"web-features:svg"
],
@@ -3179,7 +3185,10 @@
},
"white-space": {
"__compat": {
- "spec_url": "https://drafts.csswg.org/css-text-3/#white-space-property",
+ "spec_url": [
+ "https://drafts.csswg.org/css-text-4/#white-space-property",
+ "https://svgwg.org/svg2-draft/text.html#TextWhiteSpace"
+ ],
"tags": [
"web-features:white-space"
],
@@ -3223,7 +3232,10 @@
"word-spacing": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/SVG/Attribute/word-spacing",
- "spec_url": "https://drafts.csswg.org/css-text/#word-spacing-property",
+ "spec_url": [
+ "https://drafts.csswg.org/css-text/#word-spacing-property",
+ "https://svgwg.org/svg2-draft/text.html#WordSpacingProperty"
+ ],
"tags": [
"web-features:word-spacing"
],