servo/tests/unit
bors-servo f648e12935 Auto merge of #18365 - chenpighead:stylo-keyframe-location, r=upsuper,emilio
stylo: Store location information for keyframe rules.

So far, we only store location info for the whole Keyframes block, not for each
of the keyframe rule. Without this info, the devtool can't present the rules
on the devtool panel properly.

In this patch, we collect the source location info while parsing keyframe selector.
The binding function, Servo_KeyframesRule_GetKeyframe, is also fixed (and renamed
to Servo_KeyframesRule_GetKeyframeAt to match the fix) to accept line and column
parameters from Gecko, so we can pass/set them with the source location from Servo.

This is the servo part of [Bug 1394994](https://bugzilla.mozilla.org/show_bug.cgi?id=1394994).

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1394994](https://bugzilla.mozilla.org/show_bug.cgi?id=1394994)

<!-- 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/18365)
<!-- Reviewable:end -->
2017-09-05 11:22:20 -05:00
..
gfx Auto merge of #18336 - upsuper:two-stage-at-rule, r=SimonSapin 2017-09-01 17:56:57 -05:00
layout Fix some "unused" warnings 2017-06-06 16:58:35 +02:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
net Fix unit tests for updated CORS preflight fetch 2017-08-18 16:30:25 -07:00
net_traits Moved pub_domains to net_traits and did a spring clean. 2016-09-29 17:28:47 -05:00
profile Bump serde to 1.0 2017-06-16 13:31:18 +02:00
script Track custom element state 2017-08-09 14:36:22 -06:00
servo_config Allow cli prefs to have numerical value 2017-01-05 19:32:14 +01:00
servo_remutex Removed util. 2016-12-14 18:04:37 -06:00
style Auto merge of #18365 - chenpighead:stylo-keyframe-location, r=upsuper,emilio 2017-09-05 11:22:20 -05:00
stylo Fix some warnings 2017-09-02 18:44:32 +02:00