Skip to content

Commit

Permalink
Add HTML*Element.{ch|choff}} properties
Browse files Browse the repository at this point in the history
  • Loading branch information
teoli2003 committed Apr 16, 2024
1 parent b789d2e commit 6a9a3eb
Show file tree
Hide file tree
Showing 13 changed files with 274 additions and 10 deletions.
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablecellelement/ch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableCellElement: ch property"
short-title: ch
slug: Web/API/HTMLTableCellElement/ch
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableCellElement.ch
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`ch`** property of the {{domxref("HTMLTableCellElement")}} interface does nothing. It reflects the `ch` attribute of the cell element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

A single character.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablecellelement/choff/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableCellElement: chOff property"
short-title: chOff
slug: Web/API/HTMLTableCellElement/chOff
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableCellElement.chOff
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`chOff`** property of the {{domxref("HTMLTableCellElement")}} interface does nothing. It reflects the `charoff` attribute of the cell element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

An integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablecolelement/ch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableColElement: ch property"
short-title: ch
slug: Web/API/HTMLTableColElement/ch
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableColElement.ch
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`ch`** property of the {{domxref("HTMLTableColElement")}} interface does nothing. It reflects the `ch` attribute of the {{HTMLElement("col")}} element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

A single character.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablecolelement/choff/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableColElement: chOff property"
short-title: chOff
slug: Web/API/HTMLTableColElement/chOff
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableColElement.chOff
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`chOff`** property of the {{domxref("HTMLTableColElement")}} interface does nothing. It reflects the `charoff` attribute of the {{HTMLElement("col")}} element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

An integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablerowelement/ch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableRowElement: ch property"
short-title: ch
slug: Web/API/HTMLTableRowElement/ch
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableRowElement.ch
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`ch`** property of the {{domxref("HTMLTableRowElement")}} interface does nothing. It reflects the `ch` attribute of the {{HTMLElement("tr")}} element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

A single character.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablerowelement/choff/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableRowElement: chOff property"
short-title: chOff
slug: Web/API/HTMLTableRowElement/chOff
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableRowlement.chOff
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`chOff`** property of the {{domxref("HTMLTableRowElement")}} interface does nothing. It reflects the `charoff` attribute of the {{HTMLElement("tr")}} element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

An integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablesectionelement/ch/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableSectionElement: ch property"
short-title: ch
slug: Web/API/HTMLTableSectionElement/ch
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableSectionElement.ch
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`ch`** property of the {{domxref("HTMLTableSectionElement")}} interface does nothing. It reflects the `ch` attribute of the section element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

A single character.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
33 changes: 33 additions & 0 deletions files/en-us/web/api/htmltablesectionelement/choff/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "HTMLTableSectionlement: chOff property"
short-title: chOff
slug: Web/API/HTMLTableSectionElement/chOff
page-type: web-api-instance-property
status:
- deprecated
browser-compat: api.HTMLTableSectionlement.chOff
---

{{APIRef("HTML DOM")}}{{deprecated_header}}

The **`chOff`** property of the {{domxref("HTMLTableSectionElement")}} interface does nothing. It reflects the `charoff` attribute of the section element.

> **Note:** This property was designed to participate to the ability to align table cell content on a specific character (typically the decimal point), but was never implemented by browsers.
>
> To achieve such alignment, watch for the support of a string value with the {{domxref("text-align")}} CSS property.
## Value

An integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- {{domxref("text-align")}}
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/col/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ The following attributes are deprecated and should not be used. They are documen

- `char` {{deprecated_inline}}

- : Specifies the alignment of the content to a character of each column cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored, though it will still override the specified [`char`](/en-US/docs/Web/HTML/Element/colgroup#char) of its {{HTMLElement("colgroup")}} parent element.
- : Does nothing. It was originally intended to specify the alignment of the content to a character of each column cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored, though it will still override the specified [`char`](/en-US/docs/Web/HTML/Element/colgroup#char) of its {{HTMLElement("colgroup")}} parent element.

- `charoff` {{deprecated_inline}}

- : Specifies the number of characters to offset the column cell content from the alignment character specified by the [`char`](#char) attribute.
- : Does nothing. It was originally intended to specify the number of characters to offset the column cell content from the alignment character specified by the [`char`](#char) attribute.

- `valign` {{deprecated_inline}}

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/td/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ The following attributes are deprecated and should not be used. They are documen

- `char` {{deprecated_inline}}

- : Specifies the alignment of the content to a character of the data cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.
- : Does nothing. It was originally intended to specify the alignment of the content to a character of the data cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.

- `charoff` {{deprecated_inline}}

- : Specifies the number of characters to offset the data cell content from the alignment character specified by the [`char`](#char) attribute.
- : Does nothing. It was originally intended to specify the number of characters to offset the data cell content from the alignment character specified by the [`char`](#char) attribute.

- `height` {{deprecated_inline}}

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/tfoot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ The following attributes are deprecated and should not be used. They are documen

- `char` {{deprecated_inline}}

- : Specifies the alignment of the content to a character of each foot cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.
- : Does nothing. It was originally intended to specify the alignment of the content to a character of each foot cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.

- `charoff` {{deprecated_inline}}

- : Specifies the number of characters to offset the foot cell content from the alignment character specified by the [`char`](#char) attribute.
- : Does nothing. It was originally intended to specify the number of characters to offset the foot cell content from the alignment character specified by the [`char`](#char) attribute.

- `valign` {{deprecated_inline}}

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/th/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ The following attributes are deprecated and should not be used. They are documen

- `char` {{deprecated_inline}}

- : Specifies the alignment of the content to a character of the header cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.
- : Does nothing. It was originally intended to specify the alignment of the content to a character of the header cell. Typical values for this include a period (`.`) when attempting to align numbers or monetary values. If [`align`](#align) is not set to `char`, this attribute is ignored.

- `charoff` {{deprecated_inline}}

- : Specifies the number of characters to offset the header cell content from the alignment character specified by the [`char`](#char) attribute.
- : Does nothing. It was originally intended to specify the number of characters to offset the header cell content from the alignment character specified by the [`char`](#char) attribute.

- `height` {{deprecated_inline}}

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/html/element/thead/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ The following attributes are deprecated and should not be used. They are documen

- `char` {{deprecated_inline}}

- : Specifies the alignment of the content to a character of each head cell. If [`align`](#align) is not set to `char`, this attribute is ignored.
- : Does nothing. It was originally intended to specify the alignment of the content to a character of each head cell. If [`align`](#align) is not set to `char`, this attribute is ignored.

- `charoff` {{deprecated_inline}}

- : Specifies the number of characters to offset the head cell content from the alignment character specified by the [`char`](#char) attribute.
- : Does nothing. It was originally intended to specify the number of characters to offset the head cell content from the alignment character specified by the [`char`](#char) attribute.

- `valign` {{deprecated_inline}}

Expand Down

0 comments on commit 6a9a3eb

Please sign in to comment.