Closed alvivi closed 7 years ago
Just for reference: https://html.spec.whatwg.org/multipage/form-elements.html#the-button-element
The mdl documentation is confusing. The last example is wrong, but the deletable chip that works in Firefox is actually a span
.
Merged it manually into v9. Thanks a bunch! :)
@aforemny should I start future pull requests on v9 branch even their issue is targeted to v8?
@alvivi Please open them on v9.
HTML buttons can only contain phrasing elements. Some browsers (like Firefox) does not support interactive elements inside a button. This commit force chips to use a span element when they contain an action, even when they are rendered to a button.
Fix #332.