Skip to content

Commit

Permalink
Remove landing pages for attribute categories (mdn#32477)
Browse files Browse the repository at this point in the history
* Remove landing pages for attribute categories

* Update index.md

* add d to presentation

---------

Co-authored-by: Estelle Weyl <estelle@weyl.org>
  • Loading branch information
queengooborg and estelle authored Feb 29, 2024
1 parent f568a3d commit 667bbe7
Show file tree
Hide file tree
Showing 11 changed files with 96 additions and 493 deletions.
5 changes: 5 additions & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12955,6 +12955,11 @@
/en-US/docs/Web/Reference/File_System_API /en-US/docs/Web/API/File_and_Directory_Entries_API
/en-US/docs/Web/Reference/Functions_and classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers
/en-US/docs/Web/Reference/Functions_and_classes_available_to_workers /en-US/docs/Web/API/Web_Workers_API/Functions_and_classes_available_to_workers
/en-US/docs/Web/SVG/Attribute/Conditional_Processing /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/Core /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/Events /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/Presentation /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/Styling /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/dataset /en-US/docs/Web/API/HTMLElement/dataset
/en-US/docs/Web/SVG/Compatibility_sources /en-US/docs/Web/SVG
/en-US/docs/Web/SVG/Element/animateColor /en-US/docs/Web/SVG/Element/animate
Expand Down
26 changes: 0 additions & 26 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -123762,36 +123762,10 @@
"sebmozilla"
]
},
"Web/SVG/Attribute/Conditional_Processing": {
"modified": "2020-10-15T22:03:37.191Z",
"contributors": ["MelchiorIm3Tal", "sposhe", "Jeremie"]
},
"Web/SVG/Attribute/Core": {
"modified": "2020-10-15T22:03:41.528Z",
"contributors": ["MelchiorIm3Tal", "Jeremie"]
},
"Web/SVG/Attribute/Events": {
"modified": "2020-10-15T22:03:47.521Z",
"contributors": ["MelchiorIm3Tal", "Jeremie"]
},
"Web/SVG/Attribute/From": {
"modified": "2020-10-15T21:13:01.508Z",
"contributors": ["Sebastianz", "SueSmith", "Jeremie", "sebmozilla"]
},
"Web/SVG/Attribute/Presentation": {
"modified": "2020-10-15T22:03:49.694Z",
"contributors": [
"MelchiorIm3Tal",
"valtlai",
"essenngee",
"a-mt",
"Jeremie"
]
},
"Web/SVG/Attribute/Styling": {
"modified": "2020-10-15T22:03:34.429Z",
"contributors": ["MelchiorIm3Tal", "Jeremie"]
},
"Web/SVG/Attribute/To": {
"modified": "2019-07-04T18:01:27.376Z",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ As the structure of at-rules varies widely, please see [At-rule](/en-US/docs/Web

## Index

> **Note:** This index does not include SVG-exclusive [presentation attributes](/en-US/docs/Web/SVG/Attribute/Presentation), which can be used as CSS properties on [SVG](/en-US/docs/Web/SVG) elements.
> **Note:** This index does not include SVG-exclusive presentation attributes, which can be used as CSS properties on [SVG](/en-US/docs/Web/SVG) elements.
> **Note:** The property names in this index do **not** include the JavaScript names which do differ from the CSS standard names.
Expand Down
30 changes: 0 additions & 30 deletions files/en-us/web/svg/attribute/conditional_processing/index.md

This file was deleted.

56 changes: 0 additions & 56 deletions files/en-us/web/svg/attribute/core/index.md

This file was deleted.

4 changes: 2 additions & 2 deletions files/en-us/web/svg/attribute/d/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The commands are [detailed below](#path_commands).

You can use this attribute with the following SVG elements: [`<path>`](#path), [`<glyph>`](#glyph), [`<missing-glyph>`](#missing-glyph).

`d` is a [presentation attribute](/en-US/docs/Web/SVG/Attribute/Presentation), and hence can also be [used as a CSS property](#using_d_as_a_css_property).
`d` is a presentation attribute, and hence can also be [used as a CSS property](#using_d_as_a_css_property).

## Example

Expand Down Expand Up @@ -118,7 +118,7 @@ For {{SVGElement('missing-glyph')}}, `d` is a string containing a series of path

## Using d as a CSS property

`d` is a [presentation attribute](/en-US/docs/Web/SVG/Attribute/Presentation), and hence can be also be modified using CSS.
`d` is a presentation attribute, and hence can be also be modified using CSS.
The property takes either [path()](/en-US/docs/Web/CSS/path) or `none`.

The example below shows how you might apply a new path on hover over an element.
Expand Down
42 changes: 0 additions & 42 deletions files/en-us/web/svg/attribute/events/index.md

This file was deleted.

122 changes: 87 additions & 35 deletions files/en-us/web/svg/attribute/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,26 +343,33 @@ Below is a list of all of the attributes available in SVG along with links to re

- Core attributes

- : [Core attributes](/en-US/docs/Web/SVG/Attribute/Core)

{{SVGAttr("id")}}, {{SVGAttr("lang")}}, {{SVGAttr("tabindex")}}, {{SVGAttr("xml:base")}}, {{SVGAttr("xml:lang")}}, {{SVGAttr("xml:space")}}

- Style attributes

- : [Style attributes](/en-US/docs/Web/SVG/Attribute/Styling)

{{SVGAttr("class")}}, {{SVGAttr("style")}}
- {{SVGAttr("id")}}
- {{SVGAttr("class")}}
- {{SVGAttr("style")}}
- {{SVGAttr("lang")}}
- {{SVGAttr("tabindex")}}
- {{SVGAttr("xml:base")}}
- {{SVGAttr("xml:lang")}}
- {{SVGAttr("xml:space")}}

- Conditional processing attributes
- : {{SVGAttr("requiredExtensions")}}, {{SVGAttr("requiredFeatures")}}, {{SVGAttr("systemLanguage")}}.
- {{SVGAttr("requiredExtensions")}}
- {{SVGAttr("requiredFeatures")}}
- {{SVGAttr("systemLanguage")}}

### XLink attributes

{{SVGAttr("xlink:href")}}{{deprecated_inline}} , {{SVGAttr("xlink:type")}}, {{SVGAttr("xlink:role")}}, {{SVGAttr("xlink:arcrole")}}, {{SVGAttr("xlink:title")}}, {{SVGAttr("xlink:show")}}, {{SVGAttr("xlink:actuate")}}
- {{SVGAttr("xlink:href")}}{{deprecated_inline}}
- {{SVGAttr("xlink:type")}}
- {{SVGAttr("xlink:role")}}
- {{SVGAttr("xlink:arcrole")}}
- {{SVGAttr("xlink:title")}}
- {{SVGAttr("xlink:show")}}
- {{SVGAttr("xlink:actuate")}}

### Presentation attributes

> **Note:** All [SVG presentation attributes](/en-US/docs/Web/SVG/Attribute/Presentation) can be used as CSS properties.
> **Note:** All SVG presentation attributes can be used as CSS properties.
- {{SVGAttr("alignment-baseline")}}
- {{SVGAttr("baseline-shift")}}
Expand All @@ -375,6 +382,7 @@ Below is a list of all of the attributes available in SVG along with links to re
- {{SVGAttr("color-profile")}}
- {{SVGAttr("color-rendering")}}
- {{SVGAttr("cursor")}}
- {{SVGAttr("d")}}
- {{SVGAttr("direction")}}
- {{SVGAttr("display")}}
- {{SVGAttr("dominant-baseline")}}
Expand Down Expand Up @@ -449,29 +457,73 @@ Below is a list of all of the attributes available in SVG along with links to re

### Event attributes

- Animation event attributes

- : [Animation event attributes](/en-US/docs/Web/SVG/Attribute/Events#animation_event_attributes)

**`onbegin`**, **`onend`**, **`onrepeat`**

- Document event attributes

- : [Document event attributes](/en-US/docs/Web/SVG/Attribute/Events#document_event_attributes)

**`onabort`**, **`onerror`**, **`onresize`**, **`onscroll`**, **`onunload`**

- Global event attributes

- : [Global event attributes](/en-US/docs/Web/SVG/Attribute/Events#global_event_attributes)

**`oncancel`**, **`oncanplay`**, **`oncanplaythrough`**, **`onchange`**, **`onclick`**, **`onclose`**, **`oncuechange`**, **`ondblclick`**, **`ondrag`**, **`ondragend`**, **`ondragenter`**, **`ondragleave`**, **`ondragover`**, **`ondragstart`**, **`ondrop`**, **`ondurationchange`**, **`onemptied`**, **`onended`**, **`onerror`**, **`onfocus`**, **`oninput`**, **`oninvalid`**, **`onkeydown`**, **`onkeypress`**, **`onkeyup`**, **`onload`**, **`onloadeddata`**, **`onloadedmetadata`**, **`onloadstart`**, **`onmousedown`**, **`onmouseenter`**, **`onmouseleave`**, **`onmousemove`**, **`onmouseout`**, **`onmouseover`**, **`onmouseup`**, **`onmousewheel`**, **`onpause`**, **`onplay`**, **`onplaying`**, **`onprogress`**, **`onratechange`**, **`onreset`**, **`onresize`**, **`onscroll`**, **`onseeked`**, **`onseeking`**, **`onselect`**, **`onshow`**, **`onstalled`**, **`onsubmit`**, **`onsuspend`**, **`ontimeupdate`**, **`ontoggle`**, **`onvolumechange`**, **`onwaiting`**

- Graphical event attributes

- : [Graphical event attributes](/en-US/docs/Web/SVG/Attribute/Events#graphical_event_attributes)

**`onactivate`**, **`onfocusin`**, **`onfocusout`**
- **`onabort`**
- **`onactivate`**
- **`onbegin`**
- **`oncancel`**
- **`oncanplay`**
- **`oncanplaythrough`**
- **`onchange`**
- **`onclick`**
- **`onclose`**
- **`oncuechange`**
- **`ondblclick`**
- **`ondrag`**
- **`ondragend`**
- **`ondragenter`**
- **`ondragleave`**
- **`ondragover`**
- **`ondragstart`**
- **`ondrop`**
- **`ondurationchange`**
- **`onemptied`**
- **`onend`**
- **`onended`**
- **`onerror`**
- **`onerror`**
- **`onfocus`**
- **`onfocusin`**
- **`onfocusout`**
- **`oninput`**
- **`oninvalid`**
- **`onkeydown`**
- **`onkeypress`**
- **`onkeyup`**
- **`onload`**
- **`onloadeddata`**
- **`onloadedmetadata`**
- **`onloadstart`**
- **`onmousedown`**
- **`onmouseenter`**
- **`onmouseleave`**
- **`onmousemove`**
- **`onmouseout`**
- **`onmouseover`**
- **`onmouseup`**
- **`onmousewheel`**
- **`onpause`**
- **`onplay`**
- **`onplaying`**
- **`onprogress`**
- **`onratechange`**
- **`onrepeat`**
- **`onreset`**
- **`onresize`**
- **`onresize`**
- **`onscroll`**
- **`onscroll`**
- **`onseeked`**
- **`onseeking`**
- **`onselect`**
- **`onshow`**
- **`onstalled`**
- **`onsubmit`**
- **`onsuspend`**
- **`ontimeupdate`**
- **`ontoggle`**
- **`onunload`**
- **`onvolumechange`**
- **`onwaiting`**

## See also

Expand Down
Loading

0 comments on commit 667bbe7

Please sign in to comment.