hyperscript
hyperscript copied to clipboard
Defined styles are not output by outerHTML
- Node version: 6.2.0.
- Hyperscript version: 1.4.7.
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?
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?
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 :)