Bug 290422 ''usemap'' attribute for IMG tags work without a needed "#" before inline maps.

patch by bugzilla@philringnalda.com r=bz sr=bz
This commit is contained in:
timeless%mozdev.org 2005-09-30 03:51:58 +00:00
Родитель 595ce2e884
Коммит 8112ef76ca
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -73,6 +73,8 @@ nsImageMapUtils::FindImageMap(nsIDocument *aDocument,
if (start == end) {
return nsnull; // aUsemap == "#"
}
} else {
return nsnull;
}
const nsAString& usemap = Substring(start, end);