csstree · X (formerly Twitter)

csstree

122

posts

user avatar

@csstree

A tool set for working with with CSS including fast detailed parser, walker, generator and lexer based on knowledge of W3C specs and browser implementations

Joined September 2016

  • user avatar

    🚀 VSCode CSSTree validator v1.2 Now powered by CSSTree 3.0, featuring enhanced warnings for unknown properties, descriptors, and at-rules. Improved error highlighting makes catching CSS issues easier than ever.

  • user avatar

    🚀 CSSTree validator v4.0 Now powered by the latest CSSTree 3.0, featuring enhanced support for modern CSS syntax. Check it out!

  • user avatar

    🚀 CSSTree 3.0 is here! Featuring support for modern at-rules, improvements to query-related at-rules, spec alignments, other enhancements and bug fixes, and more. Release notes:

  • user avatar

    🚀 CSSTree 2.3.0 CSS Nesting support, units introspection and customisation, up to date mdn/data dictionary

  • user avatar

    Looks like CSSTree's definition syntax matching with an appropriate dictionary could be used for SVG attribute validation:

    user avatar

    ソースコードのスクリーンショット: g要素の中にpath要素がある。path要素にそれぞれmask属性とtransform属性がある。mask属性は0px none invali-keywordと指定されていて、invalid-keywordには警告の赤波線が引かれている。transform属性にはtranslate(0, 200)と指定してあり、200の部分に警告の赤波線が引かれている。

Read the original on x.com ↗