[Webkit-unassigned] [Bug 120297] HTMLUnknownElement doesn't have own tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 26 04:43:00 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120297





--- Comment #2 from Zan Dobersek <zandobersek at gmail.com>  2013-08-26 04:42:24 PST ---
I was later thinking of simply checking that, for the problematic elements, the HTMLElement is not a HTMLUnknownElement:

inline bool isHTMLAudioElement(Node* node)
{
    return node->hasTagName(HTMLNames::audioTag) && !toHTMLElement(node)->isHTMLUnknownElement();
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list