Files
sousa-gecko/testing/web-platform/tests/css/css-inline/text-box-trim/parsing/inheritance.html
T
Sajid Anwar 753d6573e0 Bug 2013458 - Implement style system support for 'text-box' property. r=firefox-style-system-reviewers,emilio
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
2026-02-03 14:34:08 +00:00

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>