[Webkit-unassigned] [Bug 91228] imagemap without a "name" attribute doesn't work (affects xkcd.com)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 15 02:00:22 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=91228
--- Comment #29 from Chen Zhixiang <chenzx at cn.fujitsu.com> 2013-07-15 02:01:24 PST ---
The patch has an error: it can not match upper-cased Id attribute.
inline bool keyMatchesLowercasedMapNameOrId(AtomicStringImpl* key, Element* element)
{
if (!element->hasTagName(mapTag))
return false;
if (element->fastGetAttribute(nameAttr).lower().impl() == key)
return true;
> if (element->getIdAttribute().lower().impl() == key)
return true;
return false;
}
--
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