style: Record the property we are computing on computed::Context, if it's a non-inherited one.

This commit is contained in:
Cameron McCormack 2017-09-13 16:03:24 +08:00
parent 9230030daa
commit 1cde26eacb
7 changed files with 19 additions and 1 deletions

View file

@ -260,6 +260,7 @@ impl Range<specified::Length> {
cached_system_font: None,
quirks_mode: quirks_mode,
for_smil_animation: false,
for_non_inherited_property: None,
rule_cache_conditions: RefCell::new(&mut conditions),
};