chinedufn / percy

Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
https://chinedufn.github.io/percy/
Apache License 2.0
2.26k stars 84 forks source link

Issues with input tag #56

Closed richardanaya closed 5 years ago

richardanaya commented 5 years ago

I had difficulty writing:

<input type="button",>
{"+"}
</input>

however this worked just fine

<div type="button",>
{"+"}
</div>

inside the DOM it seemed to prematurely close the input tag <input type="button"/>+

chinedufn commented 5 years ago

I'm not sure if it's valid for input to have a child element.

I think you might want <input type="button", value="+",></input>

Let me know if that doesn't work for you!