#48491·servo

`::first-letter` doesn't respect opening `<br>`s

Author: webbedspaceCreated Sep 29, 2026Updated Sep 29, 2026
LabelsA-layout/inlineC-has-manual-testcase

Describe the bug: ↓

To Reproduce:

xml
<!doctype html>
<style>
div::first-letter { font-size: 2em; }
</style>
<div id="X">
<br>
Hello</div>

Servo Image

Others Image

Platform: Servo latest, Win 10