As for the <hr /> thing, I have no idea why Preview will not sync to that tag, it syncs to other single self-closing tags. It is like inside the Preview it dom tree has replace the hr with something else.
Nothing we have done should have changed this. My gues this is a long standing issue. I will try to look into why that happens and see if there is anyway to work around it.
And no there is no reason other than default css that would impact Preview showing things in a different way from PageEdit at least when PageEdit is first loaded. That said, when you enable live editing of code in PageEdit, it mangles the tree in many ways to enable the editing, and will not properly normalize its tree without losing the cursor position. My guess is quirks of live editing mode inside a QtWebEngine Widget.
|