зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
595ce2e884
Коммит
8112ef76ca
|
@ -73,6 +73,8 @@ nsImageMapUtils::FindImageMap(nsIDocument *aDocument,
|
|||
if (start == end) {
|
||||
return nsnull; // aUsemap == "#"
|
||||
}
|
||||
} else {
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
const nsAString& usemap = Substring(start, end);
|
||||
|
|
Загрузка…
Ссылка в новой задаче