mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
selectors: Allow white space in the brackets of an attribute selector.
This commit is contained in:
parent
07fd6155aa
commit
523ffd587d
4 changed files with 58 additions and 0 deletions
|
@ -1365,6 +1365,9 @@ where
|
|||
{
|
||||
let namespace;
|
||||
let local_name;
|
||||
|
||||
input.skip_whitespace();
|
||||
|
||||
match parse_qualified_name(parser, input, /* in_attr_selector = */ true)? {
|
||||
OptionalQName::None(t) => {
|
||||
return Err(input.new_custom_error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue