selectors: Allow white space in the brackets of an attribute selector.

This commit is contained in:
Cameron McCormack 2017-11-17 18:24:11 +08:00
parent 07fd6155aa
commit 523ffd587d
4 changed files with 58 additions and 0 deletions

View file

@ -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(