[Webkit-unassigned] [Bug 119478] Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 4 21:51:34 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119478





--- Comment #2 from Michael[tm] Smith <mike at w3.org>  2013-08-04 21:51:16 PST ---
(In reply to comment #1)
> I don't understand why this specification change was made when all browsers behave according to the old specification.

Because the existing behavior is buggy in that it causes nodes to end up in the DOM in (from users perspective) an unexpected order; e.g., the text content of the following div ending up as "456123" instead of "123456".

  <div id=mike><b><i><s><u><tt><p></b>123</p></tt></u></s>456

Yeah, it's very invalid markup but dealing gracefully with invalid markup is entirely what this whole part of the parsing algorithm is all about. So this is a bug in the behavior of what the AAA is intended for, and if it's possible to have the spec get rid of the existing bug in the algorithm and handle that case more intuitively, then I think the right thing for Hixie or any other editor to do is to fix it in the spec if he can and then to try to see if browsers are willing to implement the revised algorithm or not.

Of course it's collectively up to browser implementors to decide if they want to make the change. But for a case like this, having concrete spec text to review in context seems to me a least to be a lot better than just having an isolated proposal written in an e-mail message or whatever.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list