Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to <mesh> SVG element #11523

Merged
merged 3 commits into from
Dec 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions files/en-us/web/api/document_object_model/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ The HTML DOM API provides access to various browser features such as tabs and wi
- {{DOMxRef("SVGLineElement")}}
- {{DOMxRef("SVGMarkerElement")}} {{Experimental_Inline}}
- {{DOMxRef("SVGMaskElement")}}
- {{DOMxRef("SVGMeshElement")}} {{Experimental_Inline}}
- {{DOMxRef("SVGMeshGradientElement")}} {{Experimental_Inline}}
- {{DOMxRef("SVGMeshpatchElement")}} {{Experimental_Inline}}
- {{DOMxRef("SVGMeshrowElement")}} {{Experimental_Inline}}
- {{DOMxRef("SVGMetadataElement")}}
- {{DOMxRef("SVGMissingGlyphElement")}} {{Deprecated_Inline}}
- {{DOMxRef("SVGMPathElement")}}
Expand Down
20 changes: 8 additions & 12 deletions files/en-us/web/svg/element/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ SVG drawings and images are created using a wide array of elements which are ded

* {{SVGElement("marker")}}
* {{SVGElement("mask")}}
* {{SVGElement("mesh")}}
* {{SVGElement("meshgradient")}}
* {{SVGElement("meshpatch")}}
* {{SVGElement("meshrow")}}
* {{SVGElement("metadata")}}
* {{SVGElement("mpath")}}

Expand Down Expand Up @@ -162,37 +158,37 @@ SVG drawings and images are created using a wide array of elements which are ded

### Gradient elements

{{SVGElement("linearGradient")}}, {{SVGElement("meshgradient")}}, {{SVGElement("radialGradient")}}, {{SVGElement("stop")}}
{{SVGElement("linearGradient")}}, {{SVGElement("radialGradient")}}, {{SVGElement("stop")}}

### Graphics elements

{{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("image")}}, {{SVGElement("line")}}, {{SVGElement("mesh")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}, {{SVGElement("text")}}, {{SVGElement("use")}}
{{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("image")}}, {{SVGElement("line")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}, {{SVGElement("text")}}, {{SVGElement("use")}}

### Graphics referencing elements

{{SVGElement("mesh")}}, {{SVGElement("use")}}
{{SVGElement("use")}}

### Light source elements

{{SVGElement("feDistantLight")}}, {{SVGElement("fePointLight")}}, {{SVGElement("feSpotLight")}}

### Never-rendered elements

{{SVGElement("clipPath")}}, {{SVGElement("defs")}}, {{SVGElement("hatch")}}, {{SVGElement("linearGradient")}}, {{SVGElement("marker")}}, {{SVGElement("mask")}}, {{SVGElement("meshgradient")}}, {{SVGElement("metadata")}}, {{SVGElement("pattern")}}, {{SVGElement("radialGradient")}}, {{SVGElement("script")}}, {{SVGElement("style")}}, {{SVGElement("symbol")}}, {{SVGElement("title")}}
{{SVGElement("clipPath")}}, {{SVGElement("defs")}}, {{SVGElement("hatch")}}, {{SVGElement("linearGradient")}}, {{SVGElement("marker")}}, {{SVGElement("mask")}}, {{SVGElement("metadata")}}, {{SVGElement("pattern")}}, {{SVGElement("radialGradient")}}, {{SVGElement("script")}}, {{SVGElement("style")}}, {{SVGElement("symbol")}}, {{SVGElement("title")}}

### Paint server elements

{{SVGElement("hatch")}}, {{SVGElement("linearGradient")}}, {{SVGElement("meshgradient")}}, {{SVGElement("pattern")}}, {{SVGElement("radialGradient")}}, {{SVGElement("solidcolor")}}
{{SVGElement("hatch")}}, {{SVGElement("linearGradient")}}, {{SVGElement("pattern")}}, {{SVGElement("radialGradient")}}, {{SVGElement("solidcolor")}}

### Renderable elements

{{SVGElement("a")}}, {{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("foreignObject")}}, {{SVGElement("g")}}, {{SVGElement("image")}}, {{SVGElement("line")}}, {{SVGElement("mesh")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}, {{SVGElement("svg")}}, {{SVGElement("switch")}}, {{SVGElement("symbol")}}, {{SVGElement("text")}}, {{SVGElement("textPath")}}, {{SVGElement("tspan")}}, {{SVGElement("use")}}
{{SVGElement("a")}}, {{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("foreignObject")}}, {{SVGElement("g")}}, {{SVGElement("image")}}, {{SVGElement("line")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}, {{SVGElement("svg")}}, {{SVGElement("switch")}}, {{SVGElement("symbol")}}, {{SVGElement("text")}}, {{SVGElement("textPath")}}, {{SVGElement("tspan")}}, {{SVGElement("use")}}

> **Note:** The [SVG 2 spec requires](https://www.w3.org/TR/SVG2/struct.html#UnknownElement) that any unknown elements be treated as {{SVGElement("g")}} for the purpose of rendering.

### Shape elements

{{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("line")}}, {{SVGElement("mesh")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}
{{SVGElement("circle")}}, {{SVGElement("ellipse")}}, {{SVGElement("line")}}, {{SVGElement("path")}}, {{SVGElement("polygon")}}, {{SVGElement("polyline")}}, {{SVGElement("rect")}}

### Structural elements

Expand All @@ -208,7 +204,7 @@ SVG drawings and images are created using a wide array of elements which are ded

### Uncategorized elements

{{SVGElement("clipPath")}}, {{SVGElement("cursor")}}, {{SVGElement("filter")}}, {{SVGElement("foreignObject")}}, {{SVGElement("hatchpath")}}, {{SVGElement("meshpatch")}}, {{SVGElement("meshrow")}}, {{SVGElement("script")}}, {{SVGElement("style")}}, {{SVGElement("view")}}
{{SVGElement("clipPath")}}, {{SVGElement("cursor")}}, {{SVGElement("filter")}}, {{SVGElement("foreignObject")}}, {{SVGElement("hatchpath")}}, {{SVGElement("script")}}, {{SVGElement("style")}}, {{SVGElement("view")}}

## Obsolete and deprecated elements

Expand Down
84 changes: 0 additions & 84 deletions files/jsondata/SVGData.json
Original file line number Diff line number Diff line change
Expand Up @@ -1265,90 +1265,6 @@
],
"interfaces": ["SVGMaskElement"]
},
"mesh": {
"categories": [
"graphicsElement",
"graphicsReferencingElement",
"renderableElement",
"shapeElement"
],
"content": {
"description": "anyNumberOfElementsWithMeshgradientElement"
},
"attributes": [
"ariaAttributes",
"conditionalProcessingAttributes",
"coreAttributes",
"globalEventAttributes",
"graphicalEventAttributes",
"presentationAttributes",
"'href'"
],
"interfaces": ["SVGMeshElement"]
},
"meshgradient": {
"categories": [
"gradientElement",
"neverRenderedElement",
"paintServerElement"
],
"content": {
"description": "anyNumberOfElementsAnyOrder",
"elements": [
"descriptiveElements",
"&lt;animate&gt;",
"&lt;animateTransform&gt;",
"&lt;meshrow&gt;",
"&lt;script&gt;",
"&lt;set&gt;"
]
},
"attributes": [
"coreAttributes",
"globalEventAttributes",
"presentationAttributes",
"styleAttributes",
"'x'",
"'y'",
"'gradientUnits'",
"'transform'",
"'href'",
"'type'"
],
"interfaces": ["SVGMeshGradientElement"]
},
"meshpatch": {
"categories": ["noCategory"],
"content": {
"description": "anyNumberOfElementsDescriptiveElementsScriptAndTwoToFourStopElements"
},
"attributes": [
"coreAttributes",
"globalEventAttributes",
"presentationAttributes",
"styleAttributes"
],
"interfaces": ["SVGMeshpatchElement"]
},
"meshrow": {
"categories": ["noCategory"],
"content": {
"description": "anyNumberOfElementsAnyOrder",
"elements": [
"descriptiveElements",
"&lt;meshpatch&gt;",
"&lt;script&gt;",
"&lt;style&gt;"
]
},
"attributes": [
"coreAttributes",
"globalEventAttributes",
"presentationAttributes",
"styleAttributes"
],
"interfaces": ["SVGMeshrowElement"]
},
"metadata": {
"categories": ["descriptiveElement"],
"content": {
Expand Down