CSS Module

  • Version: 1.4.0

  • Path: source/lexbor/css

  • Base Includes: lexbor/css/css.h

  • Examples: source/examples/css

  • Specification: CSS

Overview

The CSS module provides a complete CSS parser implementing CSS Syntax Module Level 3. It can parse stylesheets, inline styles, and build CSSOM trees.

Full-featured CSS parser supporting CSS Syntax, Selectors, CSSOM, and gradual implementation of various CSS modules.

What’s Inside

  • Syntax Tokenizer — converts CSS text into tokens

  • Parser — builds CSS rule tree from tokens

  • CSSOM — CSS Object Model

  • Property Parsing — parses CSS properties and values

  • Value Types — handles lengths, colors, functions

Supported Features

  • ✅ CSS Syntax Level 3

  • ✅ CSS Selectors Level 4

  • ✅ CSSOM

  • 🚧 CSS Values (in progress)

  • 🚧 CSS Box Model (in progress)

  • 🚧 CSS Display, Fonts, Flexbox (in progress)

(Documentation is currently being developed, details will be available here soon.)