Add full rendering pipeline support for both pseudo-elements: style computation with property filtering, ::first-letter box tree text splitting, and ::first-line post-layout style overrides on first line fragments. Promotes 2 WPT tests to pass and demotes 3 edge cases to known_fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
216 B
HTML
13 lines
216 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
p { font-size: 16px; }
|
|
p::first-letter { font-size: 32px; color: red; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Hello world. The first letter should be large and red.</p>
|
|
</body>
|
|
</html>
|