Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

text-decoration-skip

This article needs a technical review. How you can help.

The text-decoration-skip property specifies how text decorations should be applied to types of elements and characters.

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

This property may not yet be implemented in most of modern browsers (see the compatibility table).

Summary

Initial valueobjects
Applies toall elements
Inheritedyes
Mediavisual
Computed valueas specified
Animatableno
Canonical orderorder of appearance in the formal grammar of the values

The property defines horizontally where the text-decoration property applies.

Syntax

text-decoration-skip: none;
text-decoration-skip: objects;
text-decoration-skip: spaces;
text-decoration-skip: ink;
text-decoration-skip: edges;
text-decoration-skip: box-decoration;

Values

none
The text-decoration property applies to all elements selected.
objects
The text-decoration property is ommitted for all atomic inline elements.
spaces
The text-decoration property is omitted from characters with the White_Space property.
ink
The text-decoration property applies only when it does not touch or closely approach a glyph.
An example of "text-decoration-skip: ink;".
edges
The text-decoration property is ommitted at half of the line thickness inward from the left and right edges of the decorating box.
An example of "text-decoration-skip: edges;".
box-decoration
The text-decoration property is ommitted for descendants' margin, border, and padding areas.

Formal Syntax

none | [ objects || spaces || ink || edges || box-decoration ]

a

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? 9.0
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

See also

Document Tags and Contributors

 Contributors to this page: SphinxKnight, 247flashgames
 Last updated by: SphinxKnight,