Skip to content

Commit

Permalink
Update spec link for CSS/SVG presentation attribute properties [o-z] (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Jan 13, 2025
1 parent f329cbe commit 0c1029c
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 22 deletions.
5 changes: 4 additions & 1 deletion css/properties/opacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/overflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
2 changes: 1 addition & 1 deletion css/properties/paint-order.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
2 changes: 1 addition & 1 deletion css/properties/text-anchor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/text-decoration.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/text-overflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
3 changes: 2 additions & 1 deletion css/properties/transform.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion css/properties/visibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/white-space.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/word-spacing.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
5 changes: 4 additions & 1 deletion css/properties/writing-mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down
34 changes: 23 additions & 11 deletions svg/global_attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down

0 comments on commit 0c1029c

Please sign in to comment.