mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
style: Fix the handling of the RESTYLE_DESCENDANTS hint.
This was the underlying cause of the restyle_hints_state.html failure.
It was uncovered only when fixing the HAS_EDGE_CHILD_SELECTOR flags because this
was the series of events happening.
* <script> starts executing.
* All the restyle hint processing takes place.
* <script> ends executing, gets appended to the body (I think this is also a bug).
* <body> receives children_changed notification, with an Append mutation.
* <body> had the HAS_EDGE_CHILD_SELECTOR flag, so due to its bogus value, it
restyled the whole tree after <body>, fixing any mishandling of restyle
hints.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
[flexbox_columns.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
Reference in New Issue
Block a user