From febd15a7c49764a2ca7b030927640af81455fdcc Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 11 Aug 2026 11:52:20 -0700 Subject: [PATCH 01/20] refactor: unify standard property syntax codegen and migrate api surface tests to native snapshots --- PLAN.md | 9 +- scripts/codegen/generate_standard_syntax.ts | 110 +++++++++- src/data/gen/standard-syntax.ts | 145 ++++++------- src/parser-api.ts | 2 +- src/standard-syntax.ts | 129 ------------ src/typed-om.ts | 2 +- tests/api-surface.test.ts | 186 ++--------------- tests/api-surface.test.ts.snapshot | 215 ++++++++++++++++++++ tests/typed-om-syntax.test.ts | 7 +- wpt-progress.md | 2 + 10 files changed, 424 insertions(+), 383 deletions(-) delete mode 100644 src/standard-syntax.ts create mode 100644 tests/api-surface.test.ts.snapshot diff --git a/PLAN.md b/PLAN.md index 9b8d16f..c6c0031 100644 --- a/PLAN.md +++ b/PLAN.md @@ -2040,10 +2040,13 @@ Objective: Generate standard property syntax definitions for all 800+ CSS proper - [x] **Property Syntax Codegen (`scripts/codegen/generate_standard_syntax.ts`)**: - Read `node_modules/@webref/css/css.json` containing all 815 standard CSS properties. - Convert standard W3C syntax expressions into Houdini-compliant syntax definitions (``, ``, ``, ``, ``, `