What is DOM reflow?
I was reading about difference between two css properties display:none and visibility:hidden and encountered DOM reflow term. The statement was display: none causes DOM reflow where is visibility: hidden doesn't. So my question is: What is DOM reflow and how it works? Karlen Kishmiryan A reflow computes the layout of the page. A reflow on an element recomputes the dimensions and position of the element, and it also triggers further reflows on that element’s children, ancestors and elements that appear after it in the DOM. Then it calls a final repaint. Reflowing is very expensive, but