commit | b3dc97fe3a0f13f286c271f2e61522d38081a15f | [log] [tgz] |
---|---|---|
author | Leon Senft <leonsenft@google.com> | Wed Apr 24 13:35:00 2019 -0700 |
committer | Leon Senft <leonsenft@users.noreply.github.com> | Wed Apr 24 16:06:22 2019 -0700 |
tree | 1b72f5f13ab67011c70cac6eab3612c8e88f6943 | |
parent | dcedb115f87e64b7c24f88453915547c2d0c7194 [diff] |
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.
A Dart CSS parser.
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
.