diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-02-03 12:24:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-03 12:24:23 -0500 |
commit | a0d9d3633b99c01868c98d2a5e64bf311f532d58 (patch) | |
tree | c8b09de5680abc42623cf1cb545f4bf5072ed6ac /python/servo/post_build_commands.py | |
parent | 1662fd735731fcdd6184b4b89f8eb704357fd102 (diff) | |
parent | 349d6e71674fab9361f43d4b280abc9aa6f43abe (diff) | |
download | servo-a0d9d3633b99c01868c98d2a5e64bf311f532d58.tar.gz servo-a0d9d3633b99c01868c98d2a5e64bf311f532d58.zip |
Auto merge of #19935 - emilio:cleanup-style-builder, r=nox
style: Cleanup StyleBuilder.
This is in preparation of a cascade optimization for custom properties.
This fixes various fishiness around our StyleBuilder stuff. In particular,
StyleBuilder::for_derived_style (renamed to for_animation) is only used to
compute specified values, and thus doesn't need to know about rules, visited
style, or other things like that.
The flag propagation that was done in StyleAdjuster is now done in StyleBuilder,
since we know beforehand which ones are always inherited, and it simplified the
callers and the StyleAdjuster code. It also fixed some fishiness wrt which flags
were propagated to anon boxes and text.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19935)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/post_build_commands.py')
0 files changed, 0 insertions, 0 deletions