Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

text-decoration-skip

这篇文章需要技术复核。如何帮忙。

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

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

文档标签和贡献者

标签: 
 此页面的贡献者: SphinxKnight, 247flashgames
 最后编辑者: SphinxKnight,