Skip to content

The CssSelector throws a warning for unsupported selectors #11947

Closed
@stof

Description

@stof

When a CSS selector contains an unsupported selector (:active for instance), the component will throw an exception. However, it will also throw a warning because of the behavior of array_map when an exception is thrown in its callback: http://3v4l.org/rDT3R

This is annoying, especially when trying to catch the exception to ignore the unsupported selector.

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