hyperhype / hyperscript

Create HyperText with JavaScript.
MIT License
2.64k stars 110 forks source link

Defined styles are not output by outerHTML #53

Open guiprav opened 8 years ago

guiprav commented 8 years ago

Steps to reproduce: Evaluate h('div', 'Test', { style: { display: 'none' } }).outerHTML

Expected: <div style="display: none">Test</div> (or something like that).

Got: <div>Test</div>

Am I missing something?

dominictarr commented 8 years ago

This is running in node, right? so I think this bug is in https://github.com/1N50MN14/html-element can you post an issue there?

guiprav commented 8 years ago

Sure, thanks, but it looks like I'll have to try to make a PR for him, see https://github.com/1N50MN14/html-element/issues/31#issuecomment-237308344 :)