Closed
Bug 587469
Opened 15 years ago
Closed 15 years ago
Remove image map quirk from bug 264624
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
(Keywords: dev-doc-complete, html5)
Attachments
(1 file, 2 obsolete files)
|
3.85 KB,
patch
|
Details | Diff | Splinter Review |
No other browser has this particular quirk, and the testcases in bug 264624 all pass without it. (I think thanks to the HTML5 parser.)
| Assignee | ||
Comment 1•15 years ago
|
||
Attachment #466139 -
Flags: review?(Olli.Pettay)
Comment 2•15 years ago
|
||
Comment on attachment 466139 [details] [diff] [review]
Patch v1
Since Mats fixed Bug 264624, he could review this.
Attachment #466139 -
Flags: review?(Olli.Pettay)
| Assignee | ||
Comment 3•15 years ago
|
||
Comment on attachment 466139 [details] [diff] [review]
Patch v1
Sure.
Attachment #466139 -
Flags: review?(matspal)
Comment 4•15 years ago
|
||
Comment on attachment 466139 [details] [diff] [review]
Patch v1
The code change looks good, but the test doesn't do what it's
supposed to do. First, you need to include the script
"/tests/SimpleTest/EventUtils.js" for synthesizeMouse,
then the test also passes without the code change because
50,50 is actually outside the image (which is the builtin
"broken URL" image). Clicking at 2,2 should work.
r=mats with that
Attachment #466139 -
Flags: review?(matspal) → review+
| Assignee | ||
Comment 5•15 years ago
|
||
EventUtils.js was already included, and I fixed the src and the coords to ensure I hit the right thing.
Attachment #466139 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs landing]
| Assignee | ||
Comment 6•15 years ago
|
||
Attachment #483413 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [needs landing]
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
| Assignee | ||
Comment 8•15 years ago
|
||
(FWIW, I claim the dromaeo improvement on that push <http://groups.google.com/group/mozilla.dev.tree-management/browse_thread/thread/47eec39b9eb490cf/8c652ab00d54a991>.)
Keywords: dev-doc-needed
Comment 9•15 years ago
|
||
Am I correctly interpreting this code as we no longer skip over empty maps in favor of non-empty ones if we find a matching empty map before a non-empty one, when in quirks mode?
| Assignee | ||
Comment 10•15 years ago
|
||
You are.
Comment 11•15 years ago
|
||
OK, I need to clarify further. Are we talking about empty vs. non-empty map areas or maps?
| Assignee | ||
Comment 12•15 years ago
|
||
maps, as in the test:
<map name=a></map>
<map name=a><area shape=rect coords=25,25,75,75 href=#fail></map>
<img usemap=#a src=image.png>
Comment 13•15 years ago
|
||
Documentation updated:
https://developer.mozilla.org/en/HTML/Element/map
Also mentioned on Firefox 5 for developers.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•