Audit CSS against browser targets
audit_cssScan CSS source and report every feature in it that does not meet a browser support target. Targets are either a Baseline level ("baseline-widely", "baseline-newly") or an explicit browser list ("chrome 120, safari 17.4, firefox 128"). Reports the offending line, what is wrong (unsupported, too old, prefix-only, partial), and the minimum version that would work. Browserslist queries like "last 2 versions" are not supported. IMPORTANT when reading Baseline-level results: Baseline describes a whole feature, and a feature can be "Limited" because one part of it is not interoperable while the exact declaration you wrote works everywhere. "Cursor styles" is Limited, so cursor: pointer is reported — yet it only lacks iOS Safari, where a cursor is meaningless rather than broken. Each finding therefore also names the browsers missing that specific key, or says that the key ships everywhere and the status comes from elsewhere in the feature. Read that line before removing anything: a key that ships everywhere is still not proof the code works, since it may be inert without the parts that do not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The CSS source to audit. Malformed CSS is tolerated and scanned best-effort. | |
| target | No | Support target. Either a Baseline level ("baseline-widely", "baseline-newly") or a comma-separated browser list ("chrome 120, safari 17.4, firefox 128"). Known browsers: chrome, chrome_android, edge, firefox, firefox_android, safari, safari_ios, opera, opera_android, samsunginternet_android, webview_android, ie. | baseline-widely |
| include_passing | No | Also list the features that meet the target, not just the ones that fail. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| failing | Yes | ||
| unknown | Yes | ||
| findings | Yes | ||
| featuresChecked | Yes |