зеркало из https://github.com/mozilla/gecko-dev.git
Stop stripping whitespace from image map name. b=87050 r=kmcclusk sr=attinasi (checked in for David Einstein)
This commit is contained in:
Родитель
4fc0e35c4e
Коммит
bd6800ff43
|
@ -59,9 +59,9 @@ nsresult nsImageMapUtils::FindImageMap(nsIDocument *aDocument,
|
|||
|
||||
nsAutoString usemap(aUsemap);
|
||||
|
||||
// Strip out whitespace in the name for navigator compatibility
|
||||
// XXX NAV QUIRK
|
||||
usemap.StripWhitespace();
|
||||
/* we used to strip the whitespace from the usemap value as a Quirk, but it was too quirky and
|
||||
didn't really work correctly - see bug 87050
|
||||
*/
|
||||
|
||||
if (!usemap.IsEmpty() && usemap.First() == '#') {
|
||||
usemap.Cut(0, 1);
|
||||
|
|
|
@ -59,9 +59,9 @@ nsresult nsImageMapUtils::FindImageMap(nsIDocument *aDocument,
|
|||
|
||||
nsAutoString usemap(aUsemap);
|
||||
|
||||
// Strip out whitespace in the name for navigator compatibility
|
||||
// XXX NAV QUIRK
|
||||
usemap.StripWhitespace();
|
||||
/* we used to strip the whitespace from the usemap value as a Quirk, but it was too quirky and
|
||||
didn't really work correctly - see bug 87050
|
||||
*/
|
||||
|
||||
if (!usemap.IsEmpty() && usemap.First() == '#') {
|
||||
usemap.Cut(0, 1);
|
||||
|
|
Загрузка…
Ссылка в новой задаче