Skip to content

test: hold the zero spacing steps to whole declarations - #749

Merged
samoht merged 1 commit into
exact-filters-assertionsfrom
exact-build-assertions
Sep 14, 2026
Merged

samoht merged 1 commit into
exact-filters-assertionsfrom
exact-build-assertions

Conversation

@samoht

@samoht samoht commented Sep 13, 2026

Copy link
Copy Markdown
Owner

The affix was property ^ ":0" and tw emits padding:0px, so it matched on a prefix: the assertion named "p-0 emits zero" would have passed on 0.5rem, 0vh or any value starting with the digit. The CLI writes 0px here and so does tw.

The --spacing check beside it stays a search over the sheet — it asserts the carrier is absent from the theme layer, and declarations_of_class leaves :root bindings out by design, so no list of the class's own declarations can express it.

@samoht
samoht added this pull request to stack #728 September 13, 2026 15:33
The affix was [property ^ ":0"] and tw emits padding:0px, so it matched on a
prefix: the assertion named "p-0 emits zero" would have passed on 0.5rem, 0vh
or any value starting with the digit. The CLI writes 0px here and so does tw,
which the list now says.

The --spacing check beside it stays a search over the sheet. It asserts the
carrier is absent from the theme layer, and declarations_of_class leaves :root
bindings out by design, so no list of the class's own declarations can express
it.
@samoht
samoht force-pushed the exact-build-assertions branch from 28b48cc to bf51f31 Compare September 13, 2026 19:26
@samoht
samoht merged commit 3632d69 into main Sep 14, 2026
3 checks passed
@samoht
samoht deleted the exact-build-assertions branch September 14, 2026 09:57
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