property

Ruby overhang — CSS reference

The 2022 published working draft describes a control for allowing annotation text to extend over neighboring inline boxes. None requests no overhang. The editor draft may differ; this engine rejects the tested value. Use short annotations as a conservative fallback.

Formal Syntax & Structure

css syntaxcss
ruby-overhang: none;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>ruby-overhang</title><style>body{margin:8px;font:32px/1.5 monospace;color:#172033;background:white}rt{font:16px/1.2 monospace}math{font-size:40px}#r{ruby-overhang:none}</style><body><p><ruby id="r"><span id="b">Tokyo</span><rt id="t">to-kyo</rt></ruby></p></body></html>
CSS Reference