W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

[whatwg] Question on Limits in Adaption Agency Algorithm

From: Yasuhiko Minamide <minamide@cs.tsukuba.ac.jp>
Date: Sat, 03 Nov 2012 13:50:00 +0900 (JST)
Message-Id: <20121103.135000.32414723.minamide@cs.tsukuba.ac.jp>
To: whatwg@whatwg.org
Cc: minamide@cs.tsukuba.ac.jp

This is about Adaption Agency Algorithm in The "in body" insertion 

Limits of loops in the adoption agency algorithm were introduced
in http://html5.org/tools/web-apps-tracker?from=5641&to=5642.
However, the limit for the inner loop introduces an unexpected behaviour for
the following fragment of an HTML document.


This document is parsed into the following DOM tree. 


"xyz" is inserted as a child of <i> and the order between "abc" and "xyz" is 
reversed in the tree. We would like to know whether this is an intended 
behaviour of the specification.

We are aware that the similar reversal occurs in markup-in-tables.

Yasuhiko Minamide
Received on Saturday, 3 November 2012 04:50:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:48 UTC