ruby-overhangLimited availability
The ruby-overhang CSS property sets whether ruby annotations may overlap adjacent text.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–18.1Not supported
18.2+Supportedsince Dec 11, 2024
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1–18.1Not supported
18.2+Supportedsince Dec 11, 2024
Current: 27How to use
Not supported in Chrome, Edge, Firefox, Chrome Android, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: ruby-overhang.
Feature detection
CSS · check before using
@supports (ruby-overhang: initial) {
/* styles that rely on ruby-overhang */
}
/* or in JavaScript */
if (CSS.supports("ruby-overhang", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (3). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| ruby-overhang | 151 | 151 | ✕ | 18.2 | 151 | ✕ | 18.2 |
| ruby-overhang.auto | 151 | 151 | ✕ | 18.2 | 151 | ✕ | 18.2 |
| ruby-overhang.none | ✕ | ✕ | ✕ | 18.2 | ✕ | ✕ | 18.2 |