sz-attribute-syntax

An sz attribute string that does not parse.

Message

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

Arguments

The values this diagnostic names. A production browser bundle prints them as JSON in place of the sentence.

NameType
form'char' | 'end'
inputstring
charstringoptional
indexnumber