mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Rename LengthParsingMode to ParsingMode and LengthParsingMode::SVG to PasingMode::AllowUnitlessLength.
We need another flag that represents allow-negative-number for SMIL, so this enum will also comprise the another parsing mode that allows negative number.
This commit is contained in:
parent
b80d4acef4
commit
fcc50ea421
23 changed files with 85 additions and 85 deletions
|
@ -192,7 +192,7 @@ use gecko_bindings::structs::Loader;
|
|||
use gecko_bindings::structs::ServoStyleSheet;
|
||||
use gecko_bindings::structs::EffectCompositor_CascadeLevel;
|
||||
use gecko_bindings::structs::UpdateAnimationsTasks;
|
||||
use gecko_bindings::structs::LengthParsingMode;
|
||||
use gecko_bindings::structs::ParsingMode;
|
||||
use gecko_bindings::structs::InheritTarget;
|
||||
use gecko_bindings::structs::URLMatchingFunction;
|
||||
pub type nsTArrayBorrowed_uintptr_t<'a> = &'a mut ::gecko_bindings::structs::nsTArray<usize>;
|
||||
|
@ -2034,8 +2034,8 @@ extern "C" {
|
|||
value: *const nsACString,
|
||||
is_important: bool,
|
||||
data: *mut RawGeckoURLExtraData,
|
||||
length_parsing_mode:
|
||||
LengthParsingMode) -> bool;
|
||||
parsing_mode:
|
||||
ParsingMode) -> bool;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Servo_DeclarationBlock_SetPropertyById(declarations:
|
||||
|
@ -2045,8 +2045,8 @@ extern "C" {
|
|||
is_important: bool,
|
||||
data:
|
||||
*mut RawGeckoURLExtraData,
|
||||
length_parsing_mode:
|
||||
LengthParsingMode)
|
||||
parsing_mode:
|
||||
ParsingMode)
|
||||
-> bool;
|
||||
}
|
||||
extern "C" {
|
||||
|
|
|
@ -6355,7 +6355,7 @@ pub mod root {
|
|||
pub type UpdateAnimationsTasks = u8;
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum LengthParsingMode { Default = 0, SVG = 1, }
|
||||
pub enum ParsingMode { Default = 0, SVG = 1, }
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum InheritTarget {
|
||||
|
|
|
@ -6218,7 +6218,7 @@ pub mod root {
|
|||
pub type UpdateAnimationsTasks = u8;
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum LengthParsingMode { Default = 0, SVG = 1, }
|
||||
pub enum ParsingMode { Default = 0, SVG = 1, }
|
||||
#[repr(i32)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub enum InheritTarget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue