mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
f54caaaa16
https://www.w3.org/TR/css-pseudo-4/#first-letter-pseudo "Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit must also be included in the ::first-letter pseudo-element."
20 lines
564 B
HTML
20 lines
564 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>Reference: Test case for bug 399941, revised in bug 1260366 due to spec changes</title>
|
|
<style type="text/css">
|
|
p:first-letter {
|
|
color: lime;
|
|
background-color: olive;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Punctuation in class Pc should be included: there is a first-letter here -->
|
|
<p>_I_, said the Fly,</p>
|
|
<!-- Punctuation in class Pd should be included: there is a first-letter here -->
|
|
<p>-I-, said the Fly,</p>
|
|
</body>
|
|
</html>
|