[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
darin at apple.com
darin at apple.com
Wed Dec 22 15:34:46 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 05c14e7334b9eabad3ea15cb643f3e1ed5dd9ac5
Author: darin at apple.com <darin at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 8 19:00:56 2010 +0000
* fast/images/image-map-multiple-xhtml.xhtml: Fixed this test to check that
map name lookup is case sensitive.
Rubber stamped by Alexey Proskuryakov.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 2d17aaa..3ff129b 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,12 @@
2010-11-08 Darin Adler <darin at apple.com>
+ Rubber stamped by Alexey Proskuryakov.
+
+ * fast/images/image-map-multiple-xhtml.xhtml: Fixed this test to check that
+ map name lookup is case sensitive.
+
+2010-11-08 Darin Adler <darin at apple.com>
+
Reviewed by Alexey Proskuryakov.
Incorrect image map used when multiple maps have the same name
diff --git a/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml b/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml
index 2f8efd8..c9ba624 100644
--- a/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml
+++ b/LayoutTests/fast/images/image-map-multiple-xhtml.xhtml
@@ -54,9 +54,9 @@ function setResult(result)
function runTest()
{
- map1 = document.getElementsByTagName("map")[0];
- map2 = document.getElementsByTagName("map")[1];
- map3 = document.getElementsByTagName("map")[2];
+ map1 = document.getElementsByTagName("map")[1];
+ map2 = document.getElementsByTagName("map")[2];
+ map3 = document.getElementsByTagName("map")[3];
var numClicks = 7;
if (!window.eventSender) {
@@ -74,6 +74,7 @@ function runTest()
</script>
</head>
<body onload="runTest()">
+<map name="mapName"><area shape="rect" coords="0,0,100,100" onclick="setResult('0')" /></map>
<map name="mapname"><area shape="rect" coords="0,0,100,100" onclick="setResult('1')" /></map>
<map name="mapname"><area shape="rect" coords="0,0,100,100" onclick="setResult('2')" /></map>
<map name="mapname"><area shape="rect" coords="0,0,100,100" onclick="setResult('3')" /></map>
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d378e76..ac9ecab 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -5,7 +5,8 @@
Incorrect image map used when multiple maps have the same name
https://bugs.webkit.org/show_bug.cgi?id=49086
- Test: fast/images/image-map-multiple.html
+ Tests: fast/images/image-map-multiple.html
+ fast/images/image-map-multiple-xhtml.xhtml
Factored out the code used to look up elements by id and reused it
to look up maps by name. It handles multiple elements efficiently.
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list