Skip to content

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

Closed
@sorvell

Description

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.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions