Bug 19365
| Summary: | <object> element with attribute usemap do not provide client-side image map functionality | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | darin, robburns1 |
| Priority: | P2 | ||
| Version: | 525.x (Safari 3.1) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://haignet.co.uk/object-image-map.htm | ||
Gérard Talbot (no longer involved)
This bug spun from bug 15032.
Opera 9.26, Opera 9.50, Firefox 3 RC1 rv:1.9 build 2008051206, Seamonkey 2.0a1 all pass all 4 example-tests in the provided URL's webpage from Chris Haig.
Explorer 8 beta 1 passes example-test 1.2.
Safari 3.1.1 build 525.17.0 fails all 4 example-tests.
Note that example-test 2.2 at
http://haignet.co.uk/object-image-map.htm
fails just because of bug 5566
Other related/worth-mentioning issues:
HTML 4 and HTML 5 both have usemap as an attribute for <object>s:
http://www.whatwg.org/specs/web-apps/current-work/#the-object
http://www.whatwg.org/specs/web-apps/current-work/#usemap1
http://www.w3.org/TR/html4/struct/objects.html#adef-usemap
Another testcase on <object> and image map:
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/ObjectImageMapSupport.html
Note: I chose Component: HTML DOM but it could be Component: Images instead.
+CC Robert Burns
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Gérard Talbot (no longer involved)
References update:
-----------------
HTML 4 and HTML 5 both have usemap as an attribute for the HTML object element:
http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-0.html#the-object-element
"
The usemap attribute, if present while the object element represents an image, can indicate that the object has an associated image map. The attribute must be ignored if the object element doesn't represent an image.
"
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#attr-hyperlink-usemap
Connect IE beta feedback bug report (id 333636):
Image map reference fails if called using the <object> element
https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=333636
Internet Explorer 8 passes this test:
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/ObjectImageMapSupport.html
regards, Gérard
Gérard Talbot (no longer involved)
Example-tests 1.2 and 2.2 coming from
http://haignet.co.uk/object-image-map.htm
now PASS in latest stable release Safari 4.0 build 530.17
regards, Gérard
Darin Adler
*** This bug has been marked as a duplicate of bug 15032 ***