- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Sun, 3 Oct 2004 00:42:54 -0700
- To: "Justin Wood \(Callek\)" <116057@bacon.qcc.mass.edu>, "W3C Style List" <www-style@w3.org>
Thanks, Justin, | Well a "node" technically is inserted, which is an anonymous node, | meaning selectors do not match it, nor do they appear in the DOM, thus | not modifying the DOM... it is the same concept if in HTML you add an | inline element, in a spot where the html would expect a block element, | most browsers have implimented quarks behavior in these cases, so that a | block elem is placed between them and the block one that is placed is | not shown in the DOM... OK, how these quarks should be visible through DOM programming interface? E.g. ECMAScript or Java. Any ideas? It is practical question indeed. Any advices here? May be it is better to treat in UA *any* HTML element as just unisex XML node? I mean without dvision on block, inline, etc. Drop HTML's DTD and left pure XML only. So style sheet and DTD will define what is it: HTML or XUL. We will not need them both actually, just styles and XML. Seems like this is current target of CSS and XHTML movements. Andrew Fedoniouk. http://terrainformatica.com Original Message from: "Justin Wood (Callek)" <116057@bacon.qcc.mass.edu> | Andrew Fedoniouk wrote: | | >| > As per CSS [1] "display:table-cell" forces change of underlying DOM - UA | >| > *must* create table and row elements. | >| | >| No, that's not true. | >| | >| The UA must create table and table-row _boxes_. These are purely display | >| objects and are not attached to any DOM nodes. | > | >Thanks, Boris! | > | >So the following shall clearly say 'boxes' instead of 'objects'. | > 1.. "If the parent P of a 'table-cell' element T is not a 'table-row', an | >object corresponding to a 'table-row' will be generated between P and T. | >This object will span all consecutive 'table-cell' siblings (in the document | >tree) of T. " (http://www.w3.org/TR/CSS21/tables.html#value-def-table-cell) | >Formally speaking elements are objects and boxes can be also objects. | > | > | > | Well a "node" technically is inserted, which is an anonymous node, | meaning selectors do not match it, nor do they appear in the DOM, thus | not modifying the DOM... it is the same concept if in HTML you add an | inline element, in a spot where the html would expect a block element, | most browsers have implimented quarks behavior in these cases, so that a | block elem is placed between them and the block one that is placed is | not shown in the DOM... | | ~Justin Wood (Callek) |
Received on Sunday, 3 October 2004 07:43:43 UTC