diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-09 20:36:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-09 20:36:54 -0500 |
commit | 2cfef1391f53723aadb3f5225e3eaf3d155002d4 (patch) | |
tree | 14c59eb8f9a4b450c1f4f5f155bcd06d4d46b9f4 /components/script/lib.rs | |
parent | 5e8ab6c0ff3eb8504c977f16dfc9507e36853e71 (diff) | |
parent | d4a84cce8ef31b81c68d59ee95925ef904f4ea5d (diff) | |
download | servo-2cfef1391f53723aadb3f5225e3eaf3d155002d4.tar.gz servo-2cfef1391f53723aadb3f5225e3eaf3d155002d4.zip |
Auto merge of #11688 - mbrubeck:cursor-master, r=emilio
Support keyword values for 'cursor' in geckolib
This has a big hard-coded `match` instead of a generated one because Servo's Cursor enum is not generated by Mako code; instead it's in `style_traits` where it can be shared with Servo's gfx and windowing code.
We *could* move this mapping into the macro that generates the Cursor enum, but it would either involve the same amount of code duplication, or make style_traits depend on gecko_bindings. I'm not really sure which is best; open to suggestions.
r? @emilio
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11688)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/lib.rs')
0 files changed, 0 insertions, 0 deletions