Sample
Transform and minify an inline style with Lightning CSS 1.33.0 for a Browserslist-derived Safari 12 target
sha256:a455d54bcaffa5c281b8a4ec09e90a4b4a92e87c79ee4e8cc2cfaa97c5165127
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Transform and minify an inline style with Lightning CSS 1.33.0 for a Browserslist-derived Safari 12 target HOW
- Packages
- lightningcss 1.33.0
- Environment
- node 22
- Created
- 2026-08-17T01:57:05Z
Contract
- assert browserslistToTargets encodes Safari 12 as the packed target value 12 shifted by 16 bits
- assert transformStyleAttribute returns a Buffer containing declarations without selector braces
- assert minification merges four margin declarations, reduces rgb red to its keyword, and adds the Safari webkit user-select prefix while retaining the standard declaration
Files
- csx.json
- package-lock.json
- package.json
- test/contract.cjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · npm@1 · 2026-08-17 · ed25519:d91480838ac982c9