W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: DOM4 not compatible with ACID3 tests

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 8 Sep 2011 20:13:42 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
Cc: Webapps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1109082011170.7754@ps20323.dreamhostps.com>
On Thu, 8 Sep 2011, Jonas Sicking wrote:
> 
> The new DOM-Core specification changes some of the behavior for DocType 
> nodes to make them act more like all other nodes in the DOM. 
> Specifically:
> 
> 1. They always have a ownerDocument
> 2. They can move between, both using explicit calls to AdoptNode, and
> implicit adoption during for example insertBefore
> 3. They can be cloned between documents using importNode
> 
> We've written a patch to implement these changes in Gecko (which 
> resulted in a nice reduction in code). However, ACID3 tests for the old 
> behavior which is making it a harder decision to check this patch in. As 
> I understand it this isn't a Gecko specific interaction with ACID3, but 
> all browsers will see the same loss in ACID3 score if they implement the 
> new DOM-Core spec.
> 
> Because of this we've been reluctant to land said patch. I would expect 
> the engines that currently score 100/100 to be even more reluctant to 
> lose a point or two.
> 
> The obvious fix here seems to me to change ACID3.

Yup, that seems reasonable. I'll roll this change into the upcoming 
general 2011 Update for the acid tests. I understand there are some other 
things that need fixing too, e.g. SVG-related things. Anne has started a 
wiki page on the topic here:

   http://wiki.whatwg.org/wiki/Acid3

It would be great if any other changes people are aware of that would be 
helpful in simplifying the Web platform could be listed on that page too.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 8 September 2011 20:15:49 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT