diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/tests/css/css-text/inheritance.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text/inheritance.html')
-rw-r--r-- | testing/web-platform/tests/css/css-text/inheritance.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text/inheritance.html b/testing/web-platform/tests/css/css-text/inheritance.html new file mode 100644 index 0000000000..c94f7c5ee2 --- /dev/null +++ b/testing/web-platform/tests/css/css-text/inheritance.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>Inheritance of CSS Text properties</title> +<link rel="help" href="https://drafts.csswg.org/css-text/#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('hanging-punctuation', 'none', 'first last'); +assert_inherited('hyphens', 'manual', 'none'); +assert_inherited('letter-spacing', 'normal', '10px'); +assert_inherited('line-break', 'auto', 'strict'); +assert_inherited('overflow-wrap', 'normal', 'break-word'); +assert_inherited('tab-size', '8', '10px'); +assert_inherited('text-align', 'start', 'right'); +assert_inherited('text-align-all', 'start', 'right'); +assert_inherited('text-align-last', 'auto', 'right'); +assert_inherited('text-indent', '0px', '10px'); +assert_inherited('text-justify', 'auto', 'inter-character'); +assert_inherited('text-transform', 'none', 'uppercase'); +assert_inherited('text-wrap', 'wrap', 'nowrap'); +assert_inherited('white-space', 'normal', 'pre-wrap'); +assert_inherited('word-break', 'normal', 'break-all'); +assert_inherited('word-spacing', '0px', '10px'); +assert_inherited('word-wrap', 'normal', 'break-word'); +</script> +</body> +</html> |