mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: followup: set the rule type in the custom properties code, since we use it.
Though I think it may be slightly fishy if used in, e.g., a @keyframes block. For our purposes right now it doesn't make a difference, I think. Bug: 1466008 MozReview-Commit-ID: A7VCTOqaIuB
This commit is contained in:
parent
600f19540e
commit
8777c4ee63
1 changed files with 3 additions and 1 deletions
|
@ -1422,10 +1422,12 @@ impl UnparsedValue {
|
||||||
.and_then(|css| {
|
.and_then(|css| {
|
||||||
// As of this writing, only the base URL is used for property
|
// As of this writing, only the base URL is used for property
|
||||||
// values.
|
// values.
|
||||||
|
//
|
||||||
|
// FIXME(emilio): These bits are slightly fishy.
|
||||||
let context = ParserContext::new(
|
let context = ParserContext::new(
|
||||||
Origin::Author,
|
Origin::Author,
|
||||||
&self.url_data,
|
&self.url_data,
|
||||||
None,
|
Some(CssRuleType::Style),
|
||||||
ParsingMode::DEFAULT,
|
ParsingMode::DEFAULT,
|
||||||
quirks_mode,
|
quirks_mode,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue