Closed Bug 87638 Opened 23 years ago Closed 23 years ago

img height=128+0+0 does weird things

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 54142

People

(Reporter: marcelo.magallon, Assigned: harishd)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.1+) Gecko/20010625
BuildID:    2001062504

A tag <img height=128+0+0 ...> produces an image several thousand pixels tall. 
The parser is parsing 128+0+0 as a valid number.  Other browsers seem to stop at
the first +.  This is a problem in the scripts that generate the mentioned website. 

Reproducible: Always
Steps to Reproduce:
Open http://wwwvis.informatik.uni-stuttgart.de/


Actual Results:  I get the top image scaled to several thousand pixels high.

Expected Results:  Ignore everything after the +?  Or just ignore the buggy img
heigh info.
Actually, seems to work alright on Win2K.. must be yet another Linux img scaling
issue..
The page has been fixed.  This is a bug on all platforms...

Duplicate of "+ within integer attribute is stripped, should signal end of number"


*** This bug has been marked as a duplicate of 54142 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Duplicate Verified. This is a duplicate of bug 54142:
"http://www.flightgear.org/Gallery/ has a few images with height=128+0+0.  
Mozilla interprets this as height="12800"."
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.