mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Auto merge of #16067 - Wafflespeanut:grid, r=nox,Wafflespeanut
Stylo: Add support for grid-template-{rows,columns} This has the implementation of grid's `<track-list>` nightmare. --- <!-- 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 #15311 <!-- 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/16067) <!-- Reviewable:end -->
This commit is contained in:
commit
0b3fd8de76
11 changed files with 908 additions and 49 deletions
|
@ -1,6 +1,7 @@
|
|||
/* automatically generated by rust-bindgen */
|
||||
|
||||
pub use nsstring::{nsACString, nsAString, nsString};
|
||||
pub use nsstring::{nsACString, nsAString, nsString, nsStringRepr};
|
||||
use gecko_bindings::structs::nsTArray;
|
||||
type nsACString_internal = nsACString;
|
||||
type nsAString_internal = nsAString;
|
||||
use gecko_bindings::structs::mozilla::css::GridTemplateAreasValue;
|
||||
|
@ -943,6 +944,15 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ResizeTArrayForStrings(array: *mut nsTArray<nsStringRepr>,
|
||||
length: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_SetStyleGridTemplateArrayLengths(grid_template:
|
||||
*mut nsStyleGridTemplate,
|
||||
track_sizes: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyStyleGridTemplateValues(grid_template:
|
||||
*mut nsStyleGridTemplate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue