Here's a variant of the testcase. Notably: in order to trigger the issue, - The `::first-line` rule specifically needs to be on the containing-block of the `<dialog>` - ...but the dialog doesn't need to actually be in that first line. (In this case, it's after the second line.)
Bug 1982701 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Here's a variant of the testcase. Notably: in order to trigger the issue, - The `::first-line` rule specifically needs to be targeting the containing-block of the `<dialog>`. (the div with class "wrapper" in this case) - ...but the dialog doesn't need to actually be in that first line. (In this case, it's after the second line.)