Skip to content

Polymer.dom element accessors can be incorrect when an element has no logical nodes #3308

Description

@sorvell

Consider for example this case: http://jsbin.com/jitiqu/edit?html,output.

Polymer is incorrectly falling back to the element's native firstChild when the logical firstChild is false-y. We must instead do a more explicit undefined check.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions