mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Bug 1364412: Properly handle state restyle hints for pseudo-elements. r=bholley
This commit is contained in:
parent
de680b06fe
commit
0bc185f1c2
4 changed files with 207 additions and 53 deletions
|
@ -787,10 +787,11 @@ fn preprocess_children<E, D>(traversal: &D,
|
|||
let later_siblings =
|
||||
child_data.compute_final_hint(child, traversal.shared_context());
|
||||
|
||||
trace!(" > {:?} -> {:?} + {:?}, later_siblings: {:?}",
|
||||
trace!(" > {:?} -> {:?} + {:?}, pseudo: {:?}, later_siblings: {:?}",
|
||||
child,
|
||||
child_data.get_restyle().map(|r| &r.hint),
|
||||
propagated_hint,
|
||||
child.implemented_pseudo_element(),
|
||||
later_siblings);
|
||||
|
||||
// If the child doesn't have pre-existing RestyleData and we don't have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue