Skip to content

Read CSS descriptor names correctly in the elevation audit - #3866

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-40155166106
Oct 25, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-40155166106

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The elevation audit now enumerates CSS declarations with item(i). The @position-try rule added by #3836 exposes CSSPositionTryDescriptors: spreading it yields undefined entries in Chromium, so the audit crashed at name.startsWith('--') in main CI. Indexed item(i) reads the actual property names for both descriptors and ordinary style declarations.

This keeps the section-link behavior and the elevation assertions unchanged. The failing browser test reproduced on current main and passed after the change:

uv run pytest tests/browser/controls/test_theme_and_device.py::test_every_lift_names_one_of_the_theme_s_heights_cast_in_the_scheme_s_ink -q -n0

@leaf-agent
leaf-agent merged commit 83d85d0 into main Oct 25, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-40155166106 branch October 25, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant