padolsey/SIML

Pseudos do not work with buttons

Anaphase opened this issue · 1 comments

button:submit

should compile to

<button type="submit"></button>

but instead this error is thrown: "Error: Unknown Pseduo: submit".

See https://github.com/padolsey/SIML/blob/master/src/generators/html5.js#L58 for why buttons cannot have pseudo selectors.

Also note that you've misspelled "pseudo" in the above error message.

This has been added in 0.3.7. :)