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

Deprecate the param element and HTMLParamElement API #15225

Merged
merged 1 commit into from
Apr 22, 2022
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
1 change: 0 additions & 1 deletion files/en-us/web/api/html_dom_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ These interfaces represent specific HTML elements (or sets of related elements w
- {{DOMxRef("HTMLOptionElement")}}
- {{DOMxRef("HTMLOutputElement")}}
- {{DOMxRef("HTMLParagraphElement")}}
- {{DOMxRef("HTMLParamElement")}}
- {{DOMxRef("HTMLPictureElement")}}
- {{DOMxRef("HTMLPreElement")}}
- {{DOMxRef("HTMLProgressElement")}}
Expand Down
3 changes: 2 additions & 1 deletion files/en-us/web/api/htmlparamelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ tags:
- HTML DOM
- Interface
- Reference
- Deprecated
browser-compat: api.HTMLParamElement
---
{{ APIRef("HTML DOM") }}
{{ APIRef("HTML DOM") }}{{Deprecated_Header}}

The **`HTMLParamElement`** interface provides special properties (beyond those of the regular {{domxref("HTMLElement")}} object interface it inherits) for manipulating {{HTMLElement("param")}} elements, representing a pair of a key and a value that acts as a parameter for an {{HTMLElement("object")}} element.

Expand Down
15 changes: 4 additions & 11 deletions files/en-us/web/html/element/param/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ slug: Web/HTML/Element/param
tags:
- Element
- HTML
- HTML embedded content
- Reference
- Web
- Deprecated
browser-compat: html.elements.param
---

{{HTMLRef}}
{{HTMLRef}}{{Deprecated_Header}}

The **`<param>`** [HTML](/en-US/docs/Web/HTML) element defines parameters for an {{HTMLElement("object")}} element.

Expand Down Expand Up @@ -67,13 +67,10 @@ The **`<param>`** [HTML](/en-US/docs/Web/HTML) element defines parameters for an

This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attributes).

- {{htmlattrdef("name")}}
- {{htmlattrdef("name")}} {{deprecated_inline}}
- : Name of the parameter.
- {{htmlattrdef("value")}}
- {{htmlattrdef("value")}} {{deprecated_inline}}
- : Specifies the value of the parameter.

### Deprecated attributes

- {{htmlattrdef("type")}} {{deprecated_inline}}
- : Only used if the `valuetype` is set to `ref`. Specifies the MIME type of values found at the URI specified by value.
- {{htmlattrdef("valuetype")}} {{deprecated_inline}}
Expand All @@ -84,10 +81,6 @@ This element includes the [global attributes](/en-US/docs/Web/HTML/Global_attrib
- `ref`: The value is a URI to a resource where run-time values are stored.
- `object`: An ID of another {{HTMLElement("object")}} in the same document.

## Examples

Please see the {{HTMLElement("object")}} page for examples on `<param>`.

## Specifications

{{Specifications}}
Expand Down
1 change: 0 additions & 1 deletion files/jsondata/GroupData.json
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@
"HTMLOptionsCollection",
"HTMLOutputElement",
"HTMLParagraphElement",
"HTMLParamElement",
"HTMLPictureElement",
"HTMLPreElement",
"HTMLProgressElement",
Expand Down