From bb87da4536eef1058316eff0d5dfe0a05094f9ee Mon Sep 17 00:00:00 2001 From: Weiwei Wu Date: Tue, 24 Nov 2026 00:18:45 +0000 Subject: [PATCH] fix(cli): read alpha from modern CSS colors (#8624) Add real-Chromium regression coverage and document the supported modern solid-color behavior. --- docs/packages/cli.mdx | 6 ++ .../cli/src/commands/layout-audit.browser.js | 6 +- .../commands/layout-audit.chromium.test.ts | 65 +++++++++++++++++++ 3 files changed, 74 insertions(+), 3 deletions(-) diff --git a/docs/packages/cli.mdx b/docs/packages/cli.mdx index 7b0729221e..b5d7097c21 100644 --- a/docs/packages/cli.mdx +++ b/docs/packages/cli.mdx @@ -1455,6 +1455,12 @@ no progress for 2 minutes, or for its `--timeout` plus 10 seconds when that is l configured seek samples falls inside `--range`; a requested gate never silently passes without running. +`check` reads the transparency of solid text fills, text strokes and backgrounds +in `lab()`, `lch()`, `oklab()`, `oklch()` and `color()` (including `display-p3`). +It can flag invisible text as `text_not_painted`, leave faint decorative text out +of overlap checks, and distinguish transparent overlays from backgrounds that +hide text. + Text under a `