Files
sousa-gecko/testing/web-platform/tests/css/css-ruby/ruby-overhang-none.html
T
Minseong Kim c0b92a8dac Bug 2036686 [wpt PR 59591] - [ruby-overhang] Support for parsing and serialization for 'spaces', a=testonly
Automatic update from web-platform-tests
[ruby-overhang] Support for parsing and serialization for 'spaces'

CSSWG added the following resolution:
- RESOLVED: Add `spaces`, alias `none` to `spaces`
in https://github.com/w3c/csswg-drafts/issues/5912

The new behavior is behind a runtime flag, CSSRubyOverhang.

Spec: https://drafts.csswg.org/css-ruby/#ruby-overhang
Bug: 499042741, 366873207
Change-Id: I4c61c9bbb21de4e9dadf2c8715f0fbc4e1e97769
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7805625
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Auto-Submit: Minseong Kim <jja08111@gmail.com>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1623711}

--

wpt-commits: 47eedfe38b1d98920a189071f70e8bdd2d48062a
wpt-pr: 59591
2026-05-08 08:39:12 +00:00

18 lines
552 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>Tests for ruby-overhang: none for lagacy support</title>
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-overhang">
<link rel="match" href="ruby-overhang-none-ref.html">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
div {
font: 16px/5 Ahem;
}
ruby, rt {
color: transparent;
}
</style>
<div>X<ruby>X<rt>XXXX</rt></ruby>X</div>
<div>X<ruby style="ruby-overhang: none">X<rt>XXXX</rt></ruby>X</div>
<div style="ruby-overhang: none">X<ruby>X<rt>XXXX</rt></ruby>X</div>