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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 26 05:22:01 PDT 2013


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





--- Comment #3 from Gyuyoung Kim <gyuyoung.kim at samsung.com>  2013-08-26 05:21:25 PST ---
(In reply to comment #2)
> 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();
> }

Yes, I also think we can fix this issue by using it. However, it that case, we may need to add additional condition to many isHTMLXXXElement() functions. If we can't add unknownTag, it would be alternative solution. :)

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