Bug 25291
Summary: | Add Support for a-Tag in Imagemaps | ||
---|---|---|---|
Product: | WebKit | Reporter: | Andreas <gmblar> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
URL: | http://www.w3.org/TR/html401/struct/objects.html#h-13.6 |
Andreas
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. |