W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

SPAN, SUP, SUB, etc...

From: Ly, An <An.Ly@CAI.COM>
Date: Wed, 1 Sep 1999 12:57:42 -0400
Message-ID: <F516E350BFC4D1118F7B00805FC14BC302A4611C@usilmse2.cai.com>
To: www-amaya@w3.org

Some basic set elements such as SPAN, SUB, SUP, etc., insert an ancestor
(ADDRESS?) when they're inserted on a new empty document. In
CreateNewElement, it appears CanInsertBySplitting returns FALSE on current
element (type 27) at the insertion point, and ListRuleOfElem subsequently
returns ADDRESS as a possible ancestor where the element is inserted as a
child under. As far as I know, the standard does not require presence of
ADDRESS (or other ancestor -- well, it has to be inside BODY obviously)
before inserting SPAN, SUB, SUP, etc.

Is this a bug? If so, what is the suggested code fix?

Received on Wednesday, 1 September 1999 12:58:08 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:20 UTC