Closed
Bug 203124
Opened 22 years ago
Closed 22 years ago
whitespace in source affects table rendering
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
INVALID
People
(Reporter: npietran, Unassigned)
Details
Attachments
(1 file)
7.49 KB,
image/gif
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030401
Whitespaces in HTML source code seems to be effecting table rendering. I do
hope it's nothing stupid I'm doing but... The following page is rendered
incorrectly
http://www.resistive.net/bugzilla/spaces.html
The following page is rendered correctly
http://www.resistive.net/bugzilla/nospaces.html
Notice the menu below the orange stripe's spacing. It moves between the 2 files
and the only difference is the addition of white space in the source between
picture elements (see source)
I'm having this same problem on Windows 2000 Moz 1.3, 1.4a and RedHat Linux 8
Moz 1.3, 1.4a
Reproducible: Always
Steps to Reproduce:
![]() |
||
Comment 1•22 years ago
|
||
So...
<img> <img>
should have a space between the images.
<img><img>
Should not. That's what's happening here. What's the bug exactly?
Reporter | ||
Comment 2•22 years ago
|
||
I'm sorry. it's not the best example, but it does illustrate the problem.
I've attached a gif which hopefully points out the problem better. I didn't
have a lot of free time to make a simplified test case, so I just posted what I
was working on. If I have some time over the next few days I'll try to post a
better example.
![]() |
||
Comment 5•22 years ago
|
||
Ah, yes, except in reverse. The page is using a 4.01 Transitional doctype,
which means that it's in almost-standards mode. The only difference between
standards and almost-standards is that we have the quirky box model in
almost-standards so people don't hit bug 22274. What that means, of course, is
that adding whitespace to the cell _will_ affect its height if the font size is
larger than the image heights...
Nick, does changing to a 4.01 Strict doctype make the two pages render identically?
Reporter | ||
Comment 6•22 years ago
|
||
Yes. (vertical alignment is same)
http://www.resistive.net/bugzilla/nospaces_strict.html
http://www.resistive.net/bugzilla/spaces_strict.html
![]() |
||
Comment 7•22 years ago
|
||
Then this is all working like it's supposed to be, looks like.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Whiteboard: DUPME
You need to log in
before you can comment on or make changes to this bug.
Description
•