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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 26 06:34:33 PDT 2013


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





--- Comment #4 from Gyuyoung Kim <gyuyoung.kim at samsung.com>  2013-08-26 06:33:58 PST ---
(In reply to comment #3)
> (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. :)

It looks we can't add "unknown" attribute because it should own a tag which is defined in a page. Even if we define new "unknown" attribute, we make a new attribute without spec definition. So, I think we can fix this issue using adding additional condition to isHTMLXXXElement() functions.

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