OK.

I understand <div> and <x-foo> are different in the respect of
automatically closing p-s.

Is this a serious problem? It seems like if you want the p to be
closed, you can write </p>; if you insist on getting the parser to
close it, you can use <div becomes="x-foo">.

Dominic

On Fri, Sep 30, 2011 at 10:53 AM, Tab Atkins Jr. <[email protected]> wrote:
> On Thu, Sep 29, 2011 at 6:38 PM, Dominic Cooney <[email protected]> wrote:
>> So, to make this really explicit:
>>
>> div’s default display is block, but x-div’s default display is inline.
>>
>> Is there anything else that I missed?
>
> Not quite.  <p> has auto-closing behavior around several of the
> existing elements.  It does not auto-close for components, though.
>
> It has nothing to do with 'display' - it's an effect of parsing.
>
> ~TJ
>

Reply via email to