diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-12 17:31:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-12 17:31:19 -0800 |
commit | 6a04aea4a5a0da583e8cc7fc0f76c9bfea857538 (patch) | |
tree | 2e9dffe4db05f9fbf212ee249af24291524d9174 /components/script/dom/webidls | |
parent | 38fccce3ba512bbf7100574e225d73f538fad5f0 (diff) | |
parent | d4ea380440153ebc06b79646262801ea553e2b83 (diff) | |
download | servo-6a04aea4a5a0da583e8cc7fc0f76c9bfea857538.tar.gz servo-6a04aea4a5a0da583e8cc7fc0f76c9bfea857538.zip |
Auto merge of #14989 - notriddle:ellipsis_reflow, r=emilio
Fix the incrmental reflow behavior of text-overflow
This patch allows Servo to incrementally reflow truncated fragments correctly.
* The untruncated version of a fragment is preserved, and when incrementally reflowing, the untruncated version is what gets reflowed. If it needs truncated, it will get truncated again.
* The ellipsis fragments are skipped when incrementally reflowing a line. If it is still needed, it will be recreated.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #14952
- [X] There are tests for these changes OR
<!-- 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/14989)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls')
0 files changed, 0 insertions, 0 deletions