- From: Henri Sivonen <hsivonen@iki.fi>
- Date: Tue, 10 Jul 2007 21:35:58 +0300
- To: "public-html@w3.org WG" <public-html@w3.org>
(This is part of my detailed review of the parsing algorithm.) Since space characters are unconditionally not foster parented, the results of the tree builder are inconsistent with Gecko and WebKit DOM and rendering and with Presto rendering. If you have the character tokens "foo bar" and the current node is "table", "foobar" get foster parented and " " doesn't according to the current draft. WebKit and Gecko foster parent "foo bar". Presto seems to achieve results that render similarly except the space renders as a line break (by foster parenting in the CSS box tree?). http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE% 20html%3E%0A%3Ctable%3E%3Ctr%3E%3Ctd%3ECell%3C/td%3E%3C/tr%3E%20%20% 20%3Ctr%3E%3Ctd%3ECell%3C/td%3E%3C/tr%3E%3C/table%3E%0A%3Ctable%3E% 3Ctr%3E%3Ctd%3ECell%3C/td%3E%3C/tr%3Efoo%20bar%3Ctr%3E%3Ctd%3ECell%3C/ td%3E%3C/tr%3E%3C/table%3E%0A%3Ctable%3E%3Ctr%3E%3Ctd%3ECell%3C/td%3E% 3C/tr%3E%3Cspan%3Efoo%20bar%3C/span%3E%3Ctr%3E%3Ctd%3ECell%3C/td%3E% 3C/tr%3E%3C/table%3E Tested Firefox 2.0.0.4, Minefield 2007070904, Opera 9.20, Safari 2.0.4 and WebKit rev 21967. -- Henri Sivonen hsivonen@iki.fi http://hsivonen.iki.fi/
Received on Tuesday, 10 July 2007 18:36:18 UTC