diff options
author | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-07-29 14:17:56 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <ecoal95@gmail.com> | 2016-08-03 13:31:11 -0700 |
commit | 6d67525172811f203220f02defa7b4635e6414c8 (patch) | |
tree | f74270fd8193800fd8c10b74d211ebfe162a2a2c /python/servo/testing_commands.py | |
parent | 1470d5b17443a74ebcb1f9be42f7daa124f7b01a (diff) | |
download | servo-6d67525172811f203220f02defa7b4635e6414c8.tar.gz servo-6d67525172811f203220f02defa7b4635e6414c8.zip |
style: Refactor TRestyleDamage and TNode to accept/provide a "style source"
In the Gecko case, this style source would be the style context. In the servo
case, it will be always the computed values.
We could optimise this further in the case of stylo (from three FFI calls to
one) if we use an API of the form CalcAndStore(node, new_cv). But that would
imply borrowing the data twice from Servo (we also have borrow_data_unchecked
fwiw, but...).
Diffstat (limited to 'python/servo/testing_commands.py')
0 files changed, 0 insertions, 0 deletions