2.1.1.8 layout-grid-char

layoutGridChar of type DOMString, read/write

Sets or retrieves the size of the character grid used for rendering the text content of an element. This property has a default value of none. The other possible values are length, percentage, and auto.

layout-grid-char

Value:

none | auto | <length> | <percentage>

Initial:

none

Applies to:

block-level elements, and table elements

Inherited:

yes

Percentages:

Refer to parent object

Media:

visual

Computed value:

As specified

Values have the following meaning:

none

Default. No character grid is set.

auto

Largest character in the font is used to set the character grid.

<length>

Floating-point number, followed by units designator.

<percentage>

Integer, followed by percent sign (%).

Show: