Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
Implement CSS value parsing: lengths, colors, keywords, shorthands master
Add values module to the css crate that converts raw ComponentValue token lists into typed CssValue variants. Supports all CSS length units (px, pt, cm, mm, in, pc, em, rem, vw, vh, vmin, vmax), percentages, hex colors (#rgb, #rrggbb, #rgba, #rrggbbaa), rgb()/rgba() functions, 17 named colors, keywords (auto, inherit, initial, unset, none, transparent, currentColor), and shorthand expansion for margin, padding, border, border-width/style/color, and background. 63 unit tests covering all value types and shorthands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Pierre Le Fevre Co-author Claude Opus 4.6 Committer Tangled Date (Mar 4, 2026, 7:03 PM UTC) Commit 2229566e 2229566e944ba8fce91d3ff6a76c21ec53a0ae4c Parent bc83bb51 bc83bb518dd3aa9577c73522bfdf013e9eca51f2