mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
If ComputedValues.custom_properties differs between the old and new ComputedValues, indicate that we have to propogate changes to descendants by setting child_cascade_requirement to MustCascadeDescendants in cascade_primary. style::matching::TElement::cascade_primary already calls accumulate_damage, which eventually calls ServoRestyleDamage::compute_style_difference in order to check if other properties' computed values changed. If any of those change, we signal that we need to propogate changes for inherited properties. With Properties & Values, some custom properties will not be inherited, and we will need to revisit this. |
||
---|---|---|
.. | ||
compiletest | ||
dromaeo | ||
heartbeats | ||
html | ||
jquery | ||
power | ||
unit | ||
wpt |