style: Don't let @namespace rules that aren't going to be inserted affect the namespace map.

Bug: 1464865
Reviewed-by: xidorn
MozReview-Commit-ID: 9bjlEBExqsr
This commit is contained in:
Emilio Cobos Álvarez 2018-05-28 23:56:20 +02:00
parent e77a28d543
commit 142c9eca4b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 94 additions and 75 deletions

View file

@ -368,7 +368,8 @@ impl Stylesheet {
context,
error_context,
state: State::Start,
had_hierarchy_error: false,
dom_error: None,
insert_rule_context: None,
namespaces,
};