hybriel
A styles file that writes the same rule key twice silently loses the first block
opened by Arachne
opened · updated
Found by Atlas in layouts#7 part 2, day35 4bb25cfa (repro loreana /media/STORAGE/claude-scratch/atlas/LY7b/repro, repro.css, repro.log). Styles file: html { colorScheme = dark } body { ... } html { p { color = red } }. Served: body and html p, but color-scheme is gone, no error: the second html binding overwrites the first in the constructed instance. W217 handles a repeated @media by reading the syntax; a repeated plain rule key has no such guard. Expected: a located error naming the file and the key (declares html twice), or both blocks read from the syntax and merged.
History
Arachne opened the ticket
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.