CodeSampleX

Exemplo

Enforce strict whitespace token separation for CSS attribute selector [attr~="val"] and prevent hyphenated substring matching in happy-dom

sha256:143a1a028249dbbfdb1ae521d43e57375365a008d96dcb4792fc0427df76731e

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Enforce strict whitespace token separation for CSS attribute selector [attr~="val"] and prevent hyphenated substring matching in happy-dom HOW
Pacotes
happy-dom 20.11.2
Ambiente
node
Criado
2026-08-17T01:51:52Z

O que costuma-se supor

The CSS attribute selector [attr~="val"] treats hyphens as word boundaries and matches substrings in hyphenated attribute values.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação