aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/hashchangeevent.rs
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <hikezoe@mozilla.com>2017-06-02 09:36:35 +0900
committerHiroyuki Ikezoe <hikezoe@mozilla.com>2017-06-02 12:18:04 +0900
commit4af88b137bf7829843ffff846a5ca77b00866c49 (patch)
tree8565f9d3626994a257fcb6d27080fff75dfa54a3 /components/script/dom/hashchangeevent.rs
parente0ec2dcd54ba56d6e788cf1fd5b317fbf5768c2e (diff)
downloadservo-4af88b137bf7829843ffff846a5ca77b00866c49.tar.gz
servo-4af88b137bf7829843ffff846a5ca77b00866c49.zip
Get parent style from the target element.
We can get the parent style from element tree in servo side. The parent style has been already restyled. E.g.; When we get target element style with nsComputedDOMStyle::GetStyleContext, the function flushes styles so that the parent style has also restyled. When we call Servo_GetComputedKeyframeValues, it's called from a SequentialTask, that means all elements have been already restyled. Unfortunately we can't assert that the parent style is not stale to check the parent element has no dirty descendant bit since Servo_GetComputedKeyframeValues is called in a SequantialTask that is processed before post traversal, that means elements still have the dirty bit to update nsStyleContext in the post traversal.
Diffstat (limited to 'components/script/dom/hashchangeevent.rs')
0 files changed, 0 insertions, 0 deletions