Atomize namespace prefixes.

This commit is contained in:
Simon Sapin 2016-08-18 15:43:30 +02:00
parent 84fed1a62f
commit 6173e1d339
4 changed files with 19 additions and 9 deletions

View file

@ -145,7 +145,7 @@ impl SelectorImpl for ServoSelectorImpl {
type Identifier = Atom;
type ClassName = Atom;
type LocalName = Atom;
type NamespacePrefix = String;
type NamespacePrefix = Atom;
type NamespaceUrl = Namespace;
type BorrowedLocalName = Atom;
type BorrowedNamespaceUrl = Namespace;