Remove support for shadow-piercing combinators

The parser no longer supports the `/deep/` and `>>>` combinators that
were historically used to pierce shadow boundaries. These combinators
have since been removed from the Shadow DOM specification.
6 files changed
tree: 1b72f5f13ab67011c70cac6eab3612c8e88f6943
  1. example/
  2. lib/
  3. test/
  4. .gitignore
  5. .test_config
  6. .travis.yml
  7. analysis_options.yaml
  8. CHANGELOG.md
  9. codereview.settings
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

A Dart CSS parser.

Usage

Parsing CSS is easy!

import 'package:csslib/parser.dart';

main() {
  var stylesheet = parse(
      '.foo { color: red; left: 20px; top: 20px; width: 100px; height:200px }');
  print(stylesheet.toDebugString());
}

You can pass a String or List<int> to parse.