Bug 843452 - Part 2: DOM implementation changes