Status: PASS | Duration: 50ms | Subtests: 5/5 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['ruby-position'] = "auto" should not set the property value | PASS | |
| e.style['ruby-position'] = "center" should not set the property value | PASS | |
| e.style['ruby-position'] = "above" should not set the property value | PASS | |
| e.style['ruby-position'] = "10px 20px" should not set the property value | PASS | |
| e.style['ruby-position'] = "over under" should not set the property value | PASS |
/css/css-ruby/parsing/ruby-position-invalid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Ruby Layout: parsing ruby-position with invalid values</title> <link rel="help" href="https://drafts.csswg.org/css-ruby-1/#propdef-ruby-position"> <meta name="assert" content="ruby-position supports only the grammar 'over | under | inter-character'."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> </head> <body> <script> test_invalid_value("ruby-position", "auto"); test_invalid_value("ruby-position", "center"); test_invalid_value("ruby-position", "above"); test_invalid_value("ruby-position", "10px 20px"); test_invalid_value("ruby-position", "over under"); </script> </body> </html>