servo/components/style/properties
Jonathan Chan 32f62a5ac6 style: Propagate changes in custom properties' computed values to descendants.
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.
2017-06-13 13:39:37 -07:00
..
helpers Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
longhand style: Reduce some code duplication and ugliness when parsing identifiers. 2017-06-11 03:12:02 +02:00
shorthand style: Reduce some code duplication and ugliness when parsing identifiers. 2017-06-11 03:12:02 +02:00
build.py Use ascii_case_insensitive_phf_map! in PropertyId::parse 2017-02-26 11:10:33 +01:00
data.py Remove complex_color parameter. 2017-06-08 12:59:24 +10:00
declaration_block.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
gecko.mako.rs Auto merge of #17262 - Manishearth:bindings, r=Manishearth 2017-06-09 15:56:10 -07:00
helpers.mako.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
Mako-0.9.1.zip Revert "Remove mako.zip" 2016-09-04 12:52:30 +08:00
properties.html.mako Move Mako-related files into a new sub-directory. 2016-04-20 14:49:27 +02:00
properties.mako.rs style: Propagate changes in custom properties' computed values to descendants. 2017-06-13 13:39:37 -07:00