Thank you for the writeup of the routines in qS (my abbreviation for the third party querySelector code) that are called for #instructions:last-child! This writeup is very helpful.

The test expects a blank node between the two paragraphs, a node corrresponding 
to the newline character, an empty node, a node of nodeType 0,
but tidy doesn't give us this node, so nothing lines up.
I asked Geoff about this and am waiting for his reply.

So does this mean that all pages should have tons of these nodes all over the place?

I guess we will know soon enough when certain persons are available.  :=))
Or we could start a thread about this under Issues.

But I am trying to play along in case I can make some headway now. Maybe it is comparable to the options we already set in html-tidy.c:
        tidyOptSetBool(tdoc, TidyEscapeScripts, no);
        tidyOptSetBool(tdoc, TidyDropEmptyElems, no);
        tidyOptSetBool(tdoc, TidyDropEmptyParas, no);


My candidates so far are TidyNewline and TidyEmptyTags. I don't know what they do yet - those are just the ones with plausible names.

For anyone reading who doesn't already know, there is a long list of tidy config options under tidy-html5-master/src, FYI.

Kevin
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to