On 2005-Jan-04, at 06:00, xmleditor-support-request at xmlmind.com wrote: > * The initial value of CSS property "display" is "inline" and not > "block" and this property is not inherited. See > http://www.w3.org/TR/REC-CSS2/visuren.html#display-prop. Thus, to our > knowledge, the behavior of XXE is correct. May be not very smart, but > correct.
I am not a W3C recommendations lawyer, but I fail to see what inheritance has to do with this. Inheritance comes into play when a property is not set on an element, and the computed value from the parent is used instead. But in the case at hand, the display property is *explicitly* set to block, so there's no issue of inheritance; according to the section you cite, if the display property has the value block, it should cause the element to generate a principal block box, end of story. I see nothing in the recommendation that says a value of inline on an ancestor element *overrides* an explicitly-set value of block on the child element, which is the way XMLEditor behaves. - dam

