mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Instead of tracking justification opportunities during line layout, wait until the line is about to be laid out and justification is about happen. This makes the logic for tracking justification opportunities simpler. In particular, we no longer have to carefully adjust them when trimming whitespace. Additionally, this avoids a bit of work unless justification is turned on. This also includes a small cleanup of the justification code. |
||
---|---|---|
.. | ||
construct.rs | ||
float.rs | ||
inline.rs | ||
line.rs | ||
mod.rs | ||
root.rs | ||
text_run.rs |