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.
  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.


0 件のコメント: