We were doing this manually within `Document::update_layout()` and `CSSStyleProperties::get_direct_property()` but we should do it for all callers of `Document::update_style()`