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
269 B
HTML
13 lines
269 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
p { width: 200px; font-size: 16px; }
|
|
p::first-line { color: red; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The first line of this paragraph should be red. The rest of the text should be the default color which is black.</p>
|
|
</body>
|
|
</html>
|