summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b0a3e6d)
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8781
REGRESSION: image maps with "poly" areas, including one at lisp.geek.nz, don't work
* fast/replaced/image-map.html: Added.
* fast/replaced/image-map-expected.txt: Added.
WebCore:
Reviewed by Hyatt.
- fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8781
REGRESSION: image maps with "poly" areas, including one at lisp.geek.nz, don't work
* html/html_imageimpl.cpp: (WebCore::HTMLAreaElement::getRegion): Remove extra Path
definition that was shadowing the real one.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14275
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-05-09 Darin Adler <darin@apple.com>
+
+ - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=8781
+ REGRESSION: image maps with "poly" areas, including one at lisp.geek.nz, don't work
+
+ * fast/replaced/image-map.html: Added.
+ * fast/replaced/image-map-expected.txt: Added.
+
2006-05-09 Darin Adler <darin@apple.com>
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6310
2006-05-09 Darin Adler <darin@apple.com>
- test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6310
--- /dev/null
+<head>
+<script>
+function test() {
+ if (window.layoutTestController) {
+ layoutTestController.dumpAsText();
+ eventSender.mouseMoveTo(50, 50);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+ }
+}
+</script>
+</head>
+<body onload="test()">
+<img id="image" height="100" width="100" src="resources/square-blue-100x100.png" usemap="#map">
+<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0" href="javascript:document.getElementById('result').innerHTML='area clicked'"></map>
+<div id="result">no area click seen yet</div>
+</body>
+2006-05-09 Darin Adler <darin@apple.com>
+
+ Reviewed by Hyatt.
+
+ - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8781
+ REGRESSION: image maps with "poly" areas, including one at lisp.geek.nz, don't work
+
+ * html/html_imageimpl.cpp: (WebCore::HTMLAreaElement::getRegion): Remove extra Path
+ definition that was shadowing the real one.
+
2006-05-09 Darin Adler <darin@apple.com>
- fix build
2006-05-09 Darin Adler <darin@apple.com>
- fix build
switch (shape) {
case Poly:
if (m_coordsLen >= 6) {
switch (shape) {
case Poly:
if (m_coordsLen >= 6) {
int numPoints = m_coordsLen / 2;
path.moveTo(FloatPoint(m_coords[0].calcMinValue(width), m_coords[1].calcMinValue(height)));
for (int i = 1; i < numPoints; ++i)
int numPoints = m_coordsLen / 2;
path.moveTo(FloatPoint(m_coords[0].calcMinValue(width), m_coords[1].calcMinValue(height)));
for (int i = 1; i < numPoints; ++i)