Commit Graph

4 Commits

Author SHA1 Message Date
John Dvorak afb985cdf3 chore: add contain to CLIP_KIND_MAP (forward compat for Playwright pipeline) 2026-05-21 13:54:34 -07:00
John Dvorak c4a3d304ef feat: solver consumes CSS contain:paint for clippedBy diagnostics
- Add Contain=5 to geometry world ClipKind enum (avoids collision with
  topology engine's CONTAIN=3 vs Mask=3)
- Fix CDP isClippingElement() to detect contain:paint (style.contain)
- CDP topology builder sets clipKind=5 for contain:paint, 1 for overflow
- Enrich clippedByPredicate with clipKind metric:
  1=contain:paint, 2=overflow (hidden/scroll/auto)
- Reads world.clipping.clipKind of the reference's clip node
2026-05-21 13:52:28 -07:00
John Dvorak a75c3be9e0 feat: parse CSS contain values in geometry normalization
- Add CONTAIN_MAP with bitfield flags matching CDP extractor schema
  (layout=1, paint=2, size=4, style=8, strict=15, content=7, inline-size=16)
- Parse space-separated contain keywords in normalizeStyles()
- Replace containFlags[i]=0 TODO with actual value lookup
- Unknown contain keywords map to 0 gracefully
2026-05-21 13:20:57 -07:00
John Dvorak 92deb689cd v1.1.0: pooled runtime, 959 tests, production hardening (0 squash) 2025-08-15 10:00:00 -07:00