servo/tests/unit
bors-servo 36eb711d3b
Auto merge of #19946 - paavininanda:Issue18613, r=jdm
Change Offset_to_text_point function and add unit tests

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [x] These changes fix #18613.

<!-- Either: -->
- [x] Added unit tests and web platform tests

<!-- 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/19946)
<!-- Reviewable:end -->
2018-02-06 15:11:54 -05:00
..
deny_public_fields Replace compiletest suite by doc-tests with compile_fail 2017-11-22 16:25:17 +01:00
malloc_size_of Replace compiletest suite by doc-tests with compile_fail 2017-11-22 16:25:17 +01:00
metrics Use more WebRender types in gfx/display_list 2018-01-17 23:29:57 +01:00
profile Make tests/units/* compile without warnings in non-test mode 2017-12-07 13:50:10 +01:00
script Changed offset_to_text_point function and added unit tests for the same 2018-02-07 01:18:50 +05:30
script_plugins Replace compiletest suite by doc-tests with compile_fail 2017-11-22 16:25:17 +01:00
style Make all PropertyDeclaration variants have only one field 2018-02-06 13:45:18 +01:00