diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-30 21:20:38 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-30 21:20:38 -0700 |
commit | fc1e4c808541ca11e25831c7c6b5cfa924945fa5 (patch) | |
tree | 08176e3cecbddb94d2e778cad455345683aae473 /components/script/dom/document.rs | |
parent | 77cb2ca89a87829e7e95fad17ae698c4ae097455 (diff) | |
parent | 894f6395e66c49d171b18adb1340014c3d6d2b4d (diff) | |
download | servo-fc1e4c808541ca11e25831c7c6b5cfa924945fa5.tar.gz servo-fc1e4c808541ca11e25831c7c6b5cfa924945fa5.zip |
Auto merge of #10913 - mbrubeck:xi-unicode, r=pcwalton
Use xi-unicode for line breaking
This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace. xi-unicode is licensed under the Apache-2.0 license.
See mbrubeck/servo#2 for some discussion on an earlier draft of this code. This PR implements the "search backward to find trailing whitespace" solution discussed there.
r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10913)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/document.rs')
0 files changed, 0 insertions, 0 deletions