blade-sensei / learning

Roadmap for software engineer, sandbox, algorithms training, it also contains my daily task dashboard
9 stars 2 forks source link

when using childnodes the first element [0] of array has 'content' object #23

Closed blade-sensei closed 4 years ago

blade-sensei commented 4 years ago

I should get a nodeElements when using childnodes (of table-row) but here i've got content at index 0.

<div class="table-row">
            <div class="table-column"> - </div><div class="table-column"> - </div><div class="table-column"> - </div></div>
blade-sensei commented 4 years ago

This happens when there is a space after the opened div. We should remove the be sure that any space or breakline is after