servo/components/style/properties
bors-servo f3bacf84f4 Auto merge of #15539 - AdmiralCoco:reject_outofrange_transition_values, r=emilio
Add rejection of out-of-range values for single-timing-functions

<!-- Please describe your changes on the following line: -->
This PR fixes #15344, checking for the `cubic-bezier p1x/p2x` and `steps` first value after parsing.

There are unit tests that check for parsing of invalid values - I was not sure if there was a more suitable place, so I created a file (name subject to change).

Q: I found this [test suite](https://github.com/servo/servo/blob/master/tests/unit/style/properties/serialization.rs#L592), and noticed that the `p2x` value is out of range, but the test does not fail - is this because there is no check when calling the function itself?

Thanks!

---
<!-- 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 #15344

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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/15539)
<!-- Reviewable:end -->
2017-02-14 19:25:49 -08:00
..
helpers style: Unbox a bunch of color properties. 2017-02-14 20:18:31 +01:00
longhand Auto merge of #15539 - AdmiralCoco:reject_outofrange_transition_values, r=emilio 2017-02-14 19:25:49 -08:00
shorthand style: Unbox a bunch of color properties. 2017-02-14 20:18:31 +01:00
build.py Mako: configure included templates like the main one. 2017-01-24 20:04:27 +01:00
data.py Box larger specified values to avoid memmove impact 2017-02-09 11:10:08 +01:00
declaration_block.rs Parse value entirely for setting property via CSSOM 2017-02-02 16:07:49 +11:00
gecko.mako.rs Stylo: Implement align-content and justify-content 2017-02-14 08:58:55 -08:00
helpers.mako.rs Factor out ClipRect type into values; use Either for clip 2017-02-09 15:09:35 -08:00
Mako-0.9.1.zip Revert "Remove mako.zip" 2016-09-04 12:52:30 +08:00
properties.html.mako Move Mako-related files into a new sub-directory. 2016-04-20 14:49:27 +02:00
properties.mako.rs Factor out ClipRect type into values; use Either for clip 2017-02-09 15:09:35 -08:00