Skip to content

[selectors] querySelector() with quote and/or square bracket missing on right #1933

Description

@ewilligers

(From Chrome bug)

The call

// double quote and square bracket on the right side was missing.
document.querySelector('meta[name="description');

succeeds on Chrome/Edge/Firefox and fails on Safari.

Does the spec specify which behavior is correct?

We should have a web platform test. Apart from a DOM test, querySelector[All] doesn't appear to have tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions