Files
sousa-gecko/testing/web-platform/tests/css/css-ruby/parsing/ruby-overhang-valid.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

21 lines
723 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Ruby Layout: parsing ruby-overhang with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#propdef-ruby-overhang">
<link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
<meta name="assert" content="ruby-overhang supports the full grammar 'auto | spaces'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("ruby-overhang", "auto");
test_valid_value("ruby-overhang", "none", "spaces");
test_valid_value("ruby-overhang", "spaces");
</script>
</body>
</html>