WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
25291
Add Support for a-Tag in Imagemaps
https://bugs.webkit.org/show_bug.cgi?id=25291
Summary
Add Support for a-Tag in Imagemaps
Andreas
Reported
2009-04-20 03:34:17 PDT
Add Support for Attributes "shape" and "coords" in a-Tag for Imagemaps described in
http://www.w3.org/TR/html401/struct/objects.html#h-13.6
Sample: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
"> <html xmlns="
http://www.w3.org/1999/xhtml
" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Imagemaps</title> </head> <body> <h1>Imagemaps</h1> <h2>Imagemap 1</h2> <img src="
http://www.example.com/imagemap.jpg
" usemap="#foo" style="width: 128px; height: 128px;" /> <map name="foo" id="foo"> <area href="#dog" shape="rect" coords="0,64,64,0" /> </map> <h2>Imagemap 2 (Not working in Safari)</h2> <img src="
http://www.example.com/imagemap.jpg
" usemap="#bar" style="width: 128px; height: 128px;" /> <map name="bar" id="bar"> <p>Objects found on this Image:</p> <a href="#dog" shape="rect" coords="0,64,64,0">My Dog</a> </map> </body> </html>
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug