W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] [Imps] reconstruct the active formatting elements

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 24 Dec 2006 23:49:48 +0100
Message-ID: <op.tk25pakx64w2qv@id-c0020>
E-mailing this to the WHATWG list instead as Implementors keeps bouncing.

On Sat, 23 Dec 2006 11:06:33 +0100, Anne van Kesteren <annevk at opera.com>
> So we pass "<p><b><i><u></p><p>X" but not <p><b><i><u></p> <p>X" it  
> seems.

Found the problem. The "in body" insertion mode says to "reconstruct the
active formatting elements" for any character token. That should probably
only happen for non space characters. When I made that change I passed the
testcase given and didn't regress any other testcase.

I should note though that Firefox handles a newline differently from a
space. See:



In case of a space it seems the active formatting elements are

Anne van Kesteren
Received on Sunday, 24 December 2006 14:49:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC