mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Add a predefined integer type
This commit is contained in:
parent
0a0fb61b48
commit
0d556ddbf0
4 changed files with 88 additions and 5 deletions
|
@ -66,6 +66,9 @@ pub mod specified;
|
|||
/// A CSS float value.
|
||||
pub type CSSFloat = f32;
|
||||
|
||||
/// A CSS integer value.
|
||||
pub type CSSInteger = i32;
|
||||
|
||||
/// The default font size.
|
||||
pub const FONT_MEDIUM_PX: i32 = 16;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue