style: Properly track whether negative values of calc() are allowed

In order to clamp them at computed value time.
This commit is contained in:
Emilio Cobos Álvarez 2016-08-29 22:25:37 -07:00
parent c4f34e9019
commit 2617d15ed6
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 64 additions and 27 deletions

View file

@ -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,