diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html b/testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html new file mode 100644 index 0000000000..c810968f30 --- /dev/null +++ b/testing/web-platform/tests/css/css-pseudo/first-letter-hi-002.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS-Pseudo testcase - ::first-letter in Hindi</title> +<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> +<link rel="match" href="first-letter-hi-002-ref.html"> +<meta name="assert" content="When selecting the first-letter text, the UA should tailor its definition of typographic letter unit to reflect the first-letter traditions of the ::first-letter pseudo-element’s containing block’s content language"> +<link rel="help" href="https://drafts.csswg.org/css-pseudo/#first-letter-pseudo"> +<link rel="help" href="https://www.w3.org/International/i18n-tests/run?base=css-pseudo/first-letter-pseudo&batch=first-letter-pseudo&test=first-letter-deva-syllable.html"> +<style> +@font-face { + font-family: test; + src: url("/fonts/noto/NotoSansDevanagari-Regular.ttf"); +} +p { font: 16px test, sans-serif; } +p::first-letter { color: green; font-size: 2em; } +</style> +<body lang="hi"> +<p>क्लास +<p>स्तिठड +<p>प्याला +<p>प्रियबर +<p>ब्रेडक्रंब |