Function parseCssDeclaration

Parse css properties declaration either in {} or w/o {} - e.g. { width: 40%; margin-top: 3px } -- returns null if parse error occured or property list is empty

Prototype

CssDeclaration parseCssDeclaration(
  ref string src,
  bool mustBeInBrackets = true
);

Authors

Copyright

License