gecko-dev/testing/web-platform/tests/css/css-ruby/inheritance.html
Eric Willigers 26fe05143b Bug 1492662 [wpt PR 13087] - [css-ruby] Parsing and inheritance tests, a=testonly
Automatic update from web-platform-tests[css-ruby] Parsing and inheritance tests

Test that ruby-align and ruby-position are inherited and support
the full grammar.

https://drafts.csswg.org/css-ruby-1/#property-index

--

wpt-commits: 0be8bfbbead7340522425c5a9b1dde51588666b0
wpt-pr: 13087
2018-09-24 19:42:48 +00:00

22 lines
726 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS Ruby Layout properties</title>
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#property-index">
<meta name="assert" content="Properties inherit according to the spec.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_inherited('ruby-align', 'space-around', 'center');
assert_inherited('ruby-position', 'over', 'under');
</script>
</body>
</html>