2.1.1.10 layout-grid-mode
layoutGridMode of type DOMString
,
read/write
Sets or retrieves whether the text layout grid uses two
dimensions. This property has a default value of both
where both the line
and char
grids are enabled. The other possible values are none
,
line
, and char
.
-
layout-grid-mode
Value:
both | none | line | char
Initial:
both
Applies to:
All elements
Inherited:
yes
Percentages:
N/A
Media:
Computed value:
As specified
Values have the following meaning:
both
Default. Both char and line grid modes are enabled.
none
No grid is used.
line
Only a line grid is used. This is recommended for inline elements, such as span.
char
Only a character grid is used. This is recommended for block-level elements, such as blockquote.