Is the DOM structure is browser dependent for the base HTML files.
If not then will the structure vary when the applications uses some java script libraries (Jquery/Extjs/etc) for the UI elements ?
Is the DOM structure is browser dependent for the base HTML files.
If not then will the structure vary when the applications uses some java script libraries (Jquery/Extjs/etc) for the UI elements ?
The DOM structure should be identical for browsers with the same capabilities, meaning any desktop browser should be loading the same DOM structure for the same document. However mobile browsers may be loading a different DOM structure if the UI is made responsive. UI libraries may or may not modify your DOM.
There are some situtaions where the dom structure can be different in different browsers.
Javascript libraries are free to act differently on different browsers, so there is no guarantee that the dom tree will be the same.
But in practice I've never enountered problems which were caused by differing DOM structures.