Added behind pref `layout.css.text-box.enabled`. Also updated parsing WPTs to account for CSSWG resolution that `text-box-edge` can take a single keyword as opposed to requiring both the over and under edges (see https://github.com/w3c/csswg-drafts/issues/11460). Differential Revision: https://phabricator.services.mozilla.com/D281332
15 lines
605 B
HTML
15 lines
605 B
HTML
<!DOCTYPE html>
|
|
<title>Inheritance of CSS Inline Layout Text Edge properties</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-edge">
|
|
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#text-box-trim">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/inheritance-testcommon.js"></script>
|
|
<div id="container">
|
|
<div id="target"></div>
|
|
</div>
|
|
<script>
|
|
assert_inherited('text-box-edge', 'auto', 'cap alphabetic');
|
|
assert_not_inherited('text-box-trim', 'none', 'trim-start');
|
|
</script>
|