Stop stripping whitespace from image map name. b=87050 r=kmcclusk sr=attinasi (checked in for David Einstein)
git-svn-id: svn://10.0.0.236/trunk@108635 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user