mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Properly track whether negative values of calc() are allowed
In order to clamp them at computed value time.
This commit is contained in:
parent
c4f34e9019
commit
2617d15ed6
3 changed files with 64 additions and 27 deletions
|
@ -63,6 +63,8 @@ macro_rules! __define_css_keyword_enum__actual {
|
|||
|
||||
|
||||
pub mod specified {
|
||||
#[repr(u8)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum AllowedNumericType {
|
||||
All,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue