Closed Bug 50273 Opened 24 years ago Closed 24 years ago

WIDTH 100% OF IMAGES

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 39901

People

(Reporter: webmaster, Assigned: karnaze)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
BuildID:    2000080712

Dear sirs,

First fo all, congratulations for your new browser. I'm trying 'Mozilla/5.0 
(Windows; U; Win98; en-US; m17) Gecko/20000807' and think it is really a nice 
application.

I have noticed a bug in your browser. I'm not sure it is a bug but I think it 
could be interesting to implement this functionality.

-> The capabilities to define height/width of images as percentages (ie 100% to 
cover all the available place).
   You can see an example by testing my website 
http://sdelcampe.free.fr/main.php?language=E (under construction) with Internet 
Explorer and Mozilla. See the differences and you'll understand.
   Netscape can handle this type of capabilities but has defaults (you've still 
the same)(try my site with netscape).
   
I'll follow the development of your browser and will certainly advertise for it 
on my website as soon as my site will be 100% readable with your browser :o)

Please, let me know when you'll receive this message and if you've found it 
interesting.

Thank you for your great job and ... good luck.

Friendly regards, Sebastien DELCAMPE - Belgium					

Reproducible: Always
Steps to Reproduce:
updating URL to http://sdelcampe.free.fr/main.php3?language=E the posted url was
missing the 3 in main.php3?
Confirmed with 082504 mozilla build on NT
Over to HTML tables.
Assignee: asa → karnaze
Status: UNCONFIRMED → NEW
Component: Browser-General → HTMLTables
Ever confirmed: true
QA Contact: doronr → chrisd
IMHO, this is not a table bug. This happens also when the image is not inside a
table cell. E.g. take an image, say width="100%", it should cover the whole page
in its width. Which is not happening. It should, according to the W3C: on
http://www.w3.org/TR/html4/struct/objects.html#adef-width-IMG, the width is
declared to be of type "length", which is explained to have the following features:

The value (%Length; in the DTD) may be either a %Pixel; or a percentage of
the available horizontal or vertical space. Thus, the value "50%" means
half of the available space.

(Source: http://www.w3.org/TR/html4/types.html#type-length)
I haven't examined carefully what's the problem with the reported URL, but this
really seems like a duplicate of bug 39901.
Sebastien: Thank you very much for your bug report. It is nice to have such
a nicely written example for once. :-)

It turns out we do in fact already know about this problem.

*** This bug has been marked as a duplicate of 39901 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe of bug 39901: "percentage (%) image (img) widths do nothing"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.