1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/first-letter-punctuation-and-space.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

25 lines
840 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: ::first-letter formatting</title>
<link rel="author" title="Johannes Odland" href="mailto:johannes.odland@gmail.com">
<link rel="match" href="first-letter-punctuation-and-space-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo">
<meta name="assert" content="Test checks that punctuation, intervening space separators and letters still have proper ::first-letter styling.">
<style>
div {
font-size: 36px;
}
div::first-letter {
color: green;
}
</style>
</head>
<body>
<p>Test passes if the "T"s and preceding punctuation below are green.</p>
<div> Test</div>
<div>« Test</div>
<div>&#xab;&nbsp;Test</div>
</body>
</html>