Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
- data Declaration = Declaration {
- propertyName :: Text
- valueList :: Values
- isImportant :: Bool
- hasIEhack :: Bool
- clean :: [Declaration] -> [Declaration]
Documentation
data Declaration Source #
A CSS <declaration>.
Declaration | |
|
clean :: [Declaration] -> [Declaration] Source #
Removes longhand rules overwritten by their shorthand further down in the declaration list, and merges shorthand declarations with longhand properties later declared.