mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement grid-template-areas (fixes #16079)
This commit is contained in:
parent
1b9e1cc1f2
commit
3c68c28ff7
5 changed files with 226 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
pub use nsstring::{nsACString, nsAString, nsString};
|
||||
type nsACString_internal = nsACString;
|
||||
type nsAString_internal = nsAString;
|
||||
use gecko_bindings::structs::mozilla::css::GridTemplateAreasValue;
|
||||
use gecko_bindings::structs::mozilla::css::URLValue;
|
||||
use gecko_bindings::structs::mozilla::Side;
|
||||
use gecko_bindings::structs::RawGeckoAnimationPropertySegment;
|
||||
|
@ -893,6 +894,19 @@ extern "C" {
|
|||
other:
|
||||
*const nsStyleGridTemplate);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_NewGridTemplateAreasValue(areas: u32, templates: u32,
|
||||
columns: u32)
|
||||
-> *mut GridTemplateAreasValue;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_AddRefGridTemplateAreasValueArbitraryThread(aPtr:
|
||||
*mut GridTemplateAreasValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ReleaseGridTemplateAreasValueArbitraryThread(aPtr:
|
||||
*mut GridTemplateAreasValue);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
|
||||
how_many: u32);
|
||||
|
|
|
@ -277,3 +277,6 @@ impl_threadsafe_refcount!(::gecko_bindings::structs::nsCSSValueSharedList,
|
|||
impl_threadsafe_refcount!(::gecko_bindings::structs::mozilla::css::URLValue,
|
||||
Gecko_AddRefCSSURLValueArbitraryThread,
|
||||
Gecko_ReleaseCSSURLValueArbitraryThread);
|
||||
impl_threadsafe_refcount!(::gecko_bindings::structs::mozilla::css::GridTemplateAreasValue,
|
||||
Gecko_AddRefGridTemplateAreasValueArbitraryThread,
|
||||
Gecko_ReleaseGridTemplateAreasValueArbitraryThread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue