Bart Veneman
Bart Veneman
There's a couple of issues that can be resolved once we put in place an updated method of walking our AST: we need to keep track more of how rules...
This package has had some breaking changes in the past and it's hard to compare results from previous analysis with the current ones, for example using [css-analyzer-diff](https://github.com/bartveneman/css-analyzer-diff). This library should...
From cssday.nl ```css body { font: 100% Source Code Pro, Inconsolata, Menlo, monospace; } ``` Expected: - `font-size: 100%` - `font-family: Source Code Pro, Inconsolata, Menlo, monospace` Actual: - `font-size:...
The web almanac uses custom property depth to calculate its complexity https://almanac.httparchive.org/en/2022/css#complexity ```css :root { --base-hue: 335; /* depth = 0 */ --base-color: hsl(var(--base-hue) 90% 50%); /* depth = 1...
- Colors https://github.com/projectwallace/css-analyzer/blob/master/src/values/colors.js#L3-L200 - CSS Value keywords https://github.com/projectwallace/css-analyzer/blob/master/src/values/values.js#L4-L12
```css box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); ``` is reported as 2x `0 0 #0000`
Refs #357 Some bugs could/can be prevented if we implement type checking and verifying that we're always passing around nodes.
closes #358
- [ ] Wait for CSSTree to release their next version & update package.json - [ ] Figure out why some Smoke tests suddenly have extra Selectors
See https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport.html Some of the smoke tests use it, so probably useful to report them. ```css // cnn @-ms-viewport{width:extend-to-zoom;zoom:1} // gazelle @-ms-viewport{width:device-width} // trello @-ms-viewport { width: device-width } //...