Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defined styles are not output by outerHTML #53

Open
guiprav opened this issue Aug 9, 2016 · 2 comments
Open

Defined styles are not output by outerHTML #53

guiprav opened this issue Aug 9, 2016 · 2 comments

Comments

@guiprav
Copy link

guiprav commented Aug 9, 2016

  • 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?

@dominictarr
Copy link
Collaborator

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
Copy link
Author

guiprav commented Aug 9, 2016

Sure, thanks, but it looks like I'll have to try to make a PR for him, see 1N50MN14/html-element#31 (comment) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants