[whatwg] W3C compatibility

Anne van Kesteren annevk at opera.com
Mon Feb 12 02:07:28 PST 2007


On Mon, 12 Feb 2007 10:28:47 +0100, James Justin Harrell  
<herorev at yahoo.com> wrote:
> Will UAs be able to present an API to (X)HTML documents that conforms to  
> both the W3C DOM and the WHATWG's HTML5 DOM?

HTML5 DOM supercedes HTML2 DOM and doesn't include all it's functionality.  
HTML2 DOM is also vague about some things where HTML5 DOM is not. In  
practice, HTML5 DOM will be compatible with what you're used to.


> If XHTML2 uses a different namespace from XHTML1, will UAs be able to  
> treat XHTML1 documents in a way that conforms to both W3C and WHATWG  
> specs?

Sort of. Again, the W3C specification lacks a lot of detail.


> If XHTML2 ends up using the same namespace as XHTML1, will UAs be able  
> to treat XHTML2 documents in a way that conforms to both W3C and WHATWG  
> specs?

I think a more interesting question is whether any UA will implement  
XHTML2.


> Would there be any overlap, where elements
> from HTML5 and XHTML 2.0 with different names perform the same function?

Yes. <input> would be an interesting one. Another one is <img>.


> In each question I'm including all current working drafts but excluding  
> any future work. If there are any incompatibilities, what are they?

See above.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list