这篇文章需要技术复核。如何帮忙。
我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
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 value | objects |
---|---|
Applies to | all elements |
Inherited | yes |
Media | visual |
Computed value | as specified |
Animatable | no |
Canonical order | order 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 theWhite_Space
property. ink
- The
text-decoration
property applies only when it does not touch or closely approach a glyph. edges
- The
text-decoration
property is ommitted at half of the line thickness inward from the left and right edges of the decorating box. box-decoration
- The
text-decoration
property is ommitted for descendants' margin, border, and padding areas.
Formal Syntax
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 | ? | ? | ? | ? | ? | ? |