diff options
author | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-09-25 13:49:39 +0900 |
---|---|---|
committer | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-09-25 13:53:30 +0900 |
commit | aefea7230f77face8643203d2b3c29a0f4907637 (patch) | |
tree | f533b1b67e2c21a4773344d0b532d055cb475f67 /components/script/dom/bindings/codegen/parser | |
parent | fd0295ead241147bf31390cc812cc5eb1c18b751 (diff) | |
download | servo-aefea7230f77face8643203d2b3c29a0f4907637.tar.gz servo-aefea7230f77face8643203d2b3c29a0f4907637.zip |
Handle display property change from 'none' only if there is restyle hint for SMIL
We only need to handle changes when the display property is changed from 'none'
when we have a restyle hint for SMIL. The only other case where we expect to
see changes to display property during an animation are from using the CSSOM.
However, when the display property is changed from 'none' by the CSSOM, during
the animation-only restyle we can skip all descendants since they will be
traversed in the subsequent normal traversal because at that time we flush
style sheets and traverse all elements in the document. So we don't need to
care about the descendants during animation-only restyle.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
0 files changed, 0 insertions, 0 deletions