Skip to content

Defined styles are not output by outerHTML #53

Open

Description

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

Activity

  1. dominictarr commented on Aug 9, 2016

    @dominictarr
    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?

  2. guiprav commented on Aug 9, 2016

    @guiprav
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions