mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Add Element.style support for stylo <!-- Please describe your changes on the following line: --> This is the Servo side change of [bug 1294299](https://bugzilla.mozilla.org/show_bug.cgi?id=1294299) which has been reviewed by @heycam, @emilio, and @SimonSapin. This should not be merged until the Gecko side change gets merged into mozilla-central. r? @heycam --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/14038) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
.gitignore | ||
check_bindings.py | ||
README.md | ||
regen.py | ||
regen.sh | ||
regen_atoms.py | ||
setup_bindgen.sh |
Geckolib tools
This directory contains simple tools for generating the Rust bindings for stylo.
setup_bindgen.sh
This clones Servo's version of bindgen, and uses llvm-3.8
library to build it. It will then be used to generate the Rust bindings.
regen.sh
This will regenerate the bindings for the ServoBindings.h
file in your gecko
build. The generated bindings live in components/style/gecko_bindings/bindings.rs
. For structs, the bindings are in components/style/gecko_bindings/structs_*