mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Tests for ruby-overhang: spaces (#59038) -- wpt-commits: ac6cedebdc52f3a6cfc3e770118f4f4a808f32e1 wpt-pr: 59038
29 lines
1.1 KiB
HTML
29 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Ruby Layout: parsing ruby-overhang with invalid 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 only supports the grammar 'auto | spaces | none'.">
|
|
<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-overhang", "auto none");
|
|
test_invalid_value("ruby-overhang", "none auto");
|
|
test_invalid_value("ruby-overhang", "auto auto");
|
|
test_invalid_value("ruby-overhang", "none none");
|
|
test_invalid_value("ruby-overhang", "auto 2px");
|
|
test_invalid_value("ruby-overhang", "none 2px");
|
|
test_invalid_value("ruby-overhang", "simple");
|
|
test_invalid_value("ruby-overhang", "auto spaces");
|
|
test_invalid_value("ruby-overhang", "spaces auto");
|
|
test_invalid_value("ruby-overhang", "none spaces");
|
|
test_invalid_value("ruby-overhang", "spaces none");
|
|
</script>
|
|
</body>
|
|
</html>
|