diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-22 23:06:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-22 23:06:07 -0500 |
commit | edd6c2cecb2c245f9f8bcab04ff8e57f1c5d1333 (patch) | |
tree | 9fdf208072e649fefdf101152f45592bf1c11267 /components/script/dom/document.rs | |
parent | 1306b16d5a170074b4f42046a7b1a3a43952b346 (diff) | |
parent | 14c524df4f38a8b8262b3ba458c100966377d072 (diff) | |
download | servo-edd6c2cecb2c245f9f8bcab04ff8e57f1c5d1333.tar.gz servo-edd6c2cecb2c245f9f8bcab04ff8e57f1c5d1333.zip |
Auto merge of #16779 - behnam:bidi-0.3, r=mbrubeck
[gfx] [layout] [style] Upgrade unicode-bidi to 0.3
Depends on https://github.com/servo/unicode-bidi/pull/27 , which
upgrades `unicode-bidi` crate to `0.3.0`.
Summary of changes:
* Use `unicode_bidi::Level` (instead of `u8`) in all relevant places and
replace magic computations with (inline) method calls to Level API.
* Doing so required adding `unicode-bidi` crate dependency to two more
components here: `style` and `gfx`. IMHO, totally makes sense, as
replaces local integer manipulations/checks with well-tested ones
already available in a common dependency.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable). [N/A]
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because `unicode-bidi` has its own tests and there's no logic change in this diff.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/16779)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/document.rs')
0 files changed, 0 insertions, 0 deletions