Re: New elements vs. Trident

Hi Dean,

On Sep 16, 2007, at 12:01 PM, Dean Edwards wrote:

>
> Maciej Stachowiak wrote:
>> Something like this:
>> <newelement><em>some text</em></newelement>
>> Creates a DOM like this:
>> BODY
>>     NEWELEMENT
>>     EM
>>         #text: some text
>>     /NEWELEMENT
>
>> However, it would be nice to avoid the need for such script hacks.  
>> Can anyone from Microsoft comment on the possibility of fixing the  
>> handling of unknown elements in IE, even well in advance of  
>> broader implementation of HTML5?
>
> For XHTML you can mark up new elements like this:
>
> <html:newelement><em>some text</em></html:newelement>

Is that for IE? Or does that work in any browser (specifically Firefox)?

Take care,
Rob

Received on Sunday, 16 September 2007 23:44:31 UTC