Skip to content

Commit

Permalink
IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode committed Sep 14, 2019
1 parent fe778f0 commit f62d281
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,10 @@ if (ENV._DEBUG_RENDER_TREE) {

nodeBounds(node: Node): CapturedBounds {
return {
parentElement: expect(node.parentElement, 'BUG: detached node') as Simple.Element,
parentElement: (expect(
node.parentNode,
'BUG: detached node'
) as Simple.Node) as Simple.Element,
firstNode: node as Simple.Node,
lastNode: node as Simple.Node,
};
Expand Down

0 comments on commit f62d281

Please sign in to comment.