Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
e5efbee
commit 28d4824
Showing
4 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters