Skip to content

Check for more replaced element types in ServoThreadSafeLayoutElement::with_pseudo #40708

@jdm

Description

@jdm

#40578 adds a check for video elements, but there are other replaced element types: https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements . #40693 is related to this as well. I'd like to introduce a is_replaced_content method that can encapsulate any special conditions for particular element types.

This is tested by ./mach test-wpt /css/css-pseudo/pseudo-replaced-elements.html.

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