diff options
author | Pu Xingyu <pu.stshine@gmail.com> | 2016-12-11 04:00:33 +0800 |
---|---|---|
committer | Pu Xingyu <pu.stshine@gmail.com> | 2016-12-12 18:09:52 +0800 |
commit | 19a4f8f6c159470d041e4787b13f4dbc649156ad (patch) | |
tree | e85e8613a25c1b0e28b461476b3a207ab233be08 /components/layout/construct.rs | |
parent | d3ab919745ceab8028078e1c403d0101c65a252c (diff) | |
download | servo-19a4f8f6c159470d041e4787b13f4dbc649156ad.tar.gz servo-19a4f8f6c159470d041e4787b13f4dbc649156ad.zip |
Switch to new methods for size calculation of replaced elements
Use `calculate_replaced_sizes()` in `compute_intrinsic_inline_sizes()`
and `assign_replaced_inline_size_if_necessary()`, and remove size
calculation in `assign_replaced_block_size_if_necessary()`, since
we've already done that.
Diffstat (limited to 'components/layout/construct.rs')
0 files changed, 0 insertions, 0 deletions