monks/text_decoration_skip_ink

The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders.

Values

pub const all: #(String, String)
  • : The browser must interrupt underlines and overlines so that they do not touch or closely approach a glyph. This can be helpful with certain Chinese, Japanese, or Korean (CJK) fonts, where the auto behavior might not create interruptions. An example of “text-decoration-skip-ink”.
pub const auto_: #(String, String)
  • : The default — the browser may interrupt underlines and overlines so that they do not touch or closely approach a glyph. That is, they are interrupted where they would otherwise cross over a glyph.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : Underlines and overlines are drawn across the full length of the text content, including parts that cross over glyph descenders and ascenders.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for text-decoration-skip-ink

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for text-decoration-skip-ink. It will be wrapped in var() and have -- prepended.

Search Document