mirror of
https://github.com/servo/servo.git
synced 2025-09-03 03:28:20 +01:00
stylo: Support counter-increment and counter-reset
MozReview-Commit-ID: DnSd8xAkidM
This commit is contained in:
parent
07723eba7a
commit
2ae317f526
3 changed files with 38 additions and 3 deletions
|
@ -717,10 +717,26 @@ extern "C" {
|
|||
pub fn Gecko_ClearAndResizeStyleContents(content: *mut nsStyleContent,
|
||||
how_many: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ClearAndResizeCounterIncrements(content: *mut nsStyleContent,
|
||||
how_many: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_ClearAndResizeCounterResets(content: *mut nsStyleContent,
|
||||
how_many: u32);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyStyleContentsFrom(content: *mut nsStyleContent,
|
||||
other: *const nsStyleContent);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyCounterResetsFrom(content: *mut nsStyleContent,
|
||||
other: *const nsStyleContent);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_CopyCounterIncrementsFrom(content: *mut nsStyleContent,
|
||||
other: *const nsStyleContent);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_EnsureImageLayersLength(layers: *mut nsStyleImageLayers,
|
||||
len: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue