Make it possible to construct StyleBuilder with two different inherited styles.

Part 3 of Gecko bug 1382806.  r=emilio
This commit is contained in:
Boris Zbarsky 2017-07-26 13:41:48 -04:00
parent f991b76535
commit 048044f98b
4 changed files with 41 additions and 1 deletions

View file

@ -479,6 +479,7 @@ where
rules.unwrap_or(self.context.shared.stylist.rule_tree().root()),
&self.context.shared.guards,
parent_style,
parent_style,
layout_parent_style,
style_if_visited,
Some(&mut cascade_info),