From c81d06b792354031464c602271994d7cee7035d3 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 12 Jan 2025 13:58:07 +0800 Subject: [PATCH 1/2] Update svg presentation attributes list --- files/en-us/web/svg/attribute/index.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/svg/attribute/index.md b/files/en-us/web/svg/attribute/index.md index 26248f3f2fac47b..9722dd77b81abf7 100644 --- a/files/en-us/web/svg/attribute/index.md +++ b/files/en-us/web/svg/attribute/index.md @@ -374,14 +374,14 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("alignment-baseline")}} - {{SVGAttr("baseline-shift")}} -- {{SVGAttr("clip")}} - {{SVGAttr("clip-path")}} - {{SVGAttr("clip-rule")}} - {{SVGAttr("color")}} - {{SVGAttr("color-interpolation")}} - {{SVGAttr("color-interpolation-filters")}} -- {{SVGAttr("color-rendering")}} - {{SVGAttr("cursor")}} +- {{SVGAttr("cx")}} +- {{SVGAttr("cy")}} - {{SVGAttr("d")}} - {{SVGAttr("direction")}} - {{SVGAttr("display")}} @@ -401,6 +401,7 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("font-weight")}} - {{SVGAttr("glyph-orientation-horizontal")}} - {{SVGAttr("glyph-orientation-vertical")}} +- {{SVGAttr("height")}} - {{SVGAttr("image-rendering")}} - {{SVGAttr("letter-spacing")}} - {{SVGAttr("lighting-color")}} @@ -408,9 +409,13 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("marker-mid")}} - {{SVGAttr("marker-start")}} - {{SVGAttr("mask")}} +- `mask-type` - {{SVGAttr("opacity")}} - {{SVGAttr("overflow")}} - {{SVGAttr("pointer-events")}} +- {{SVGAttr("r")}} +- {{SVGAttr("rx")}} +- {{SVGAttr("ry")}} - {{SVGAttr("shape-rendering")}} - {{SVGAttr("stop-color")}} - {{SVGAttr("stop-opacity")}} @@ -424,14 +429,19 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("stroke-width")}} - {{SVGAttr("text-anchor")}} - {{SVGAttr("text-decoration")}} +- `text-overflow` - {{SVGAttr("text-rendering")}} - {{SVGAttr("transform")}} - {{SVGAttr("transform-origin")}} - {{SVGAttr("unicode-bidi")}} - {{SVGAttr("vector-effect")}} - {{SVGAttr("visibility")}} +- `white-space` +- {{SVGAttr("width")}} - {{SVGAttr("word-spacing")}} - {{SVGAttr("writing-mode")}} +- {{SVGAttr("x")}} +- {{SVGAttr("y")}} ### Filters attributes From 073cf07caaf4438bf594ca889296e5cd10ddd63d Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Fri, 24 Jan 2025 14:28:08 -0500 Subject: [PATCH 2/2] Add links back --- files/en-us/web/svg/attribute/index.md | 21 ++++++++----------- .../svg/attribute/requiredfeatures/index.md | 4 ++-- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/files/en-us/web/svg/attribute/index.md b/files/en-us/web/svg/attribute/index.md index 9722dd77b81abf7..5912283ac5914b1 100644 --- a/files/en-us/web/svg/attribute/index.md +++ b/files/en-us/web/svg/attribute/index.md @@ -49,7 +49,6 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("color")}} - {{SVGAttr("color-interpolation")}} - {{SVGAttr("color-interpolation-filters")}} -- {{SVGAttr("color-rendering")}} - {{SVGAttr("crossorigin")}} - {{SVGAttr("cursor")}} - {{SVGAttr("cx")}} @@ -59,7 +58,6 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("d")}} - {{SVGAttr("data-*")}} -- {{SVGAttr("decelerate")}} - {{SVGAttr("decoding")}} - {{SVGAttr("descent")}} - {{SVGAttr("diffuseConstant")}} @@ -94,9 +92,8 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("font-style")}} - {{SVGAttr("font-variant")}} - {{SVGAttr("font-weight")}} -- {{SVGAttr("format")}} -- {{SVGAttr("from")}} - {{SVGAttr("fr")}} +- {{SVGAttr("from")}} - {{SVGAttr("fx")}} - {{SVGAttr("fy")}} @@ -107,7 +104,6 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("glyph-name")}} - {{SVGAttr("glyph-orientation-horizontal")}} - {{SVGAttr("glyph-orientation-vertical")}} -- {{SVGAttr("glyphRef")}} - {{SVGAttr("gradientTransform")}} - {{SVGAttr("gradientUnits")}} @@ -115,11 +111,11 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("hanging")}} - {{SVGAttr("height")}} -- {{SVGAttr("href")}} -- {{SVGAttr("hreflang")}} - {{SVGAttr("horiz-adv-x")}} - {{SVGAttr("horiz-origin-x")}} - {{SVGAttr("horiz-origin-y")}} +- {{SVGAttr("href")}} +- {{SVGAttr("hreflang")}} ### I @@ -190,8 +186,8 @@ Below is a list of all of the attributes available in SVG along with links to re ### P -- {{SVGAttr("panose-1")}} - {{SVGAttr("paint-order")}} +- {{SVGAttr("panose-1")}} - {{SVGAttr("path")}} - {{SVGAttr("pathLength")}} - {{SVGAttr("patternContentUnits")}} @@ -374,6 +370,7 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("alignment-baseline")}} - {{SVGAttr("baseline-shift")}} +- {{SVGAttr("clip")}} - {{SVGAttr("clip-path")}} - {{SVGAttr("clip-rule")}} - {{SVGAttr("color")}} @@ -409,7 +406,7 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("marker-mid")}} - {{SVGAttr("marker-start")}} - {{SVGAttr("mask")}} -- `mask-type` +- {{SVGAttr("mask-type")}} - {{SVGAttr("opacity")}} - {{SVGAttr("overflow")}} - {{SVGAttr("pointer-events")}} @@ -429,14 +426,14 @@ Below is a list of all of the attributes available in SVG along with links to re - {{SVGAttr("stroke-width")}} - {{SVGAttr("text-anchor")}} - {{SVGAttr("text-decoration")}} -- `text-overflow` +- {{SVGAttr("text-overflow")}} - {{SVGAttr("text-rendering")}} - {{SVGAttr("transform")}} - {{SVGAttr("transform-origin")}} - {{SVGAttr("unicode-bidi")}} - {{SVGAttr("vector-effect")}} - {{SVGAttr("visibility")}} -- `white-space` +- {{SVGAttr("white-space")}} - {{SVGAttr("width")}} - {{SVGAttr("word-spacing")}} - {{SVGAttr("writing-mode")}} @@ -459,7 +456,7 @@ Below is a list of all of the attributes available in SVG along with links to re - Animation timing attributes - : {{SVGAttr("begin")}}, {{SVGAttr("dur")}}, {{SVGAttr("end")}}, {{SVGAttr("min")}}, {{SVGAttr("max")}}, {{SVGAttr("restart")}}, {{SVGAttr("repeatCount")}}, {{SVGAttr("repeatDur")}}, {{SVGAttr("fill")}} - Animation value attributes - - : {{SVGAttr("calcMode")}}, {{SVGAttr("values")}}, {{SVGAttr("keyTimes")}}, {{SVGAttr("keySplines")}}, {{SVGAttr("from")}}, {{SVGAttr("to")}}, {{SVGAttr("by")}}, {{SVGAttr("autoReverse")}}, {{SVGAttr("accelerate")}}, {{SVGAttr("decelerate")}} + - : {{SVGAttr("calcMode")}}, {{SVGAttr("values")}}, {{SVGAttr("keyTimes")}}, {{SVGAttr("keySplines")}}, {{SVGAttr("from")}}, {{SVGAttr("to")}}, {{SVGAttr("by")}}, {{SVGAttr("autoReverse")}} - Animation addition attributes - : {{SVGAttr("additive")}}, {{SVGAttr("accumulate")}} diff --git a/files/en-us/web/svg/attribute/requiredfeatures/index.md b/files/en-us/web/svg/attribute/requiredfeatures/index.md index 0b10c4927bb73f6..08a82b685479c15 100644 --- a/files/en-us/web/svg/attribute/requiredfeatures/index.md +++ b/files/en-us/web/svg/attribute/requiredfeatures/index.md @@ -196,9 +196,9 @@ The following are the feature strings for the `requiredFeatures` attribute. Thes - `http://www.w3.org/TR/SVG11/feature#BasicText` - : The browser supports the {{SVGElement("text")}} element - `http://www.w3.org/TR/SVG11/feature#PaintAttribute` - - : The browser supports the {{SVGAttr("color")}}, {{SVGAttr("fill")}}, {{SVGAttr("fill-rule")}}, {{SVGAttr("stroke")}}, {{SVGAttr("stroke-dasharray")}}, {{SVGAttr("stroke-dashoffset")}}, {{SVGAttr("stroke-linecap")}}, {{SVGAttr("stroke-linejoin")}}, {{SVGAttr("stroke-miterlimit")}}, {{SVGAttr("stroke-width")}}, {{SVGAttr("color-interpolation")}} and {{SVGAttr("color-rendering")}} attributes + - : The browser supports the {{SVGAttr("color")}}, {{SVGAttr("fill")}}, {{SVGAttr("fill-rule")}}, {{SVGAttr("stroke")}}, {{SVGAttr("stroke-dasharray")}}, {{SVGAttr("stroke-dashoffset")}}, {{SVGAttr("stroke-linecap")}}, {{SVGAttr("stroke-linejoin")}}, {{SVGAttr("stroke-miterlimit")}}, {{SVGAttr("stroke-width")}}, {{SVGAttr("color-interpolation")}} and `color-rendering` attributes - `http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute` - - : The browser supports the {{SVGAttr("color")}}, {{SVGAttr("fill")}}, {{SVGAttr("fill-rule")}}, {{SVGAttr("stroke")}}, {{SVGAttr("stroke-dasharray")}}, {{SVGAttr("stroke-dashoffset")}}, {{SVGAttr("stroke-linecap")}}, {{SVGAttr("stroke-linejoin")}}, {{SVGAttr("stroke-miterlimit")}}, {{SVGAttr("stroke-width")}} and {{SVGAttr("color-rendering")}} attributes + - : The browser supports the {{SVGAttr("color")}}, {{SVGAttr("fill")}}, {{SVGAttr("fill-rule")}}, {{SVGAttr("stroke")}}, {{SVGAttr("stroke-dasharray")}}, {{SVGAttr("stroke-dashoffset")}}, {{SVGAttr("stroke-linecap")}}, {{SVGAttr("stroke-linejoin")}}, {{SVGAttr("stroke-miterlimit")}}, {{SVGAttr("stroke-width")}} and `color-rendering` attributes - `http://www.w3.org/TR/SVG11/feature#OpacityAttribute` - : The browser supports the {{SVGAttr("opacity")}}, {{SVGAttr("stroke-opacity")}} and {{SVGAttr("fill-opacity")}} attributes - `http://www.w3.org/TR/SVG11/feature#GraphicsAttribute`