Skip to content

Servo duplicates nodes in some cases #42329

@lukewarlow

Description

@lukewarlow

Describe the bug:
Servo is somehow copying nodes (not sure if its layout or DOM or paint) when list-style-image is used. Found while debugging: #41231 it might be unrelated but it also seems likely to be relevant.

To Reproduce:
Load the below document.

data:text/html,<!DOCTYPE html> <style> details { padding-left: 200px; display: list-item; list-style-image: url('https://36f89080f24097fc170e7c141b16b5fbf8cee793.mdnplay.dev/en-US/docs/Web/CSS/Reference/Properties/list-style-image/star-solid.gif'); } </style> <details></details>

Renders as below:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions