This is the DOM part of http://bugs.webkit.org/show_bug.cgi?id=19028
Can you post a patch in this bug?
Has been done in subsequent bugs.