sz-attribute-syntaxAn sz attribute string that does not parse.
code is this id.A name in angle brackets is a value the message fills in.
char[csszyx] sz-attribute-syntax: The `sz` attribute `<input>` has an unexpected `<char>` at offset <index>, so the element gets no classes from it.
help: write it as an object literal with commas between keys, such as `sz="p: 4, w: '1/2'"`; quote a value that holds `/` or `#`.
docs: https://csszyx.com/e/sz-attribute-syntax
A production browser bundle prints this in place of it:
[csszyx] sz-attribute-syntax: {"form":"char","input":"<input>","char":"<char>","index":<index>} https://csszyx.com/e/sz-attribute-syntax
end[csszyx] sz-attribute-syntax: The `sz` attribute `<input>` ends at offset <index> before a key or value is complete, so the element gets no classes from it.
help: give every key a `:` and a value, and close every `[` and quote, such as `sz="p: 4, [&>span]: { m: 2 }"`.
docs: https://csszyx.com/e/sz-attribute-syntax
A production browser bundle prints this in place of it:
[csszyx] sz-attribute-syntax: {"form":"end","input":"<input>","char":"<char>","index":<index>} https://csszyx.com/e/sz-attribute-syntax
The values this diagnostic names. A production browser bundle prints them as JSON in place of the sentence.
| Name | Type | |
|---|---|---|
form | 'char' | 'end' | |
input | string | |
char | string | optional |
index | number |