csslib icon indicating copy to clipboard operation
csslib copied to clipboard

A library for parsing CSS.

Results 15 csslib issues
Sort by recently updated
recently updated
newest added

how to use this lib to read properties and values from a CSS Declaration and store it in a Map. I'm trying to use this lib to convert an SVG...

add support for css container queries https://github.com/angulardart-community/angular/issues/57

type-enhancement

Implements the `@counter-style` directive per the spec. --- - [X] I’ve reviewed the contributor guide and applied the relevant portions to this PR. #### Contribution guidelines: - See our [contributor...

Related to dart-lang/csslib#123

cla: yes

The following repro finds 6 errors in `bulma/css/bulma.css` from: https://github.com/jgthms/bulma/releases/tag/0.9.3 ```dart import 'dart:io'; import 'package:csslib/parser.dart'; const testOptions = PreprocessorOptions( useColors: false, checked: false, warningsAsErrors: true, inputFile: 'memory', ); void main()...

type-bug
status-blocked

I believe the parser currently implements [Selectors Level 3](https://www.w3.org/TR/selectors-3/#grammar) grammar (it at least makes reference to it throughout the code). Unfortunately Selectors Level 3 has very limited support for parsing...

type-enhancement
P2

While `@extend` works fine and suit some if my needs, it is not working correctly within `@media` query block. Let's assume the following css ``` .good { color: red; }...

type-bug

While this ``` .good { color: red; } .better { @extend .good; } ``` is correctly generated as ``` .good,.better { color: red; } .better { } ``` If we...

type-bug

`@document` is [an alternative to `@-moz-document`](https://developer.mozilla.org/en-US/docs/Web/CSS/@document), but right now csslib parses it as a Less variable. Sass is [already showing deprecation warnings for `@-moz-document`](https://github.com/sass/sass/issues/2529), so userstyles that use Sass are...

type-enhancement

It seems not working under the inline-style situation. I only need to parse a list of declarations, which is for the contents of a style attribute.

type-question
type-documentation