Closed Bug 62240 Opened 24 years ago Closed 23 years ago

Error on cell spacing in strict mode

Categories

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

x86
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 68998

People

(Reporter: juergen, Assigned: karnaze)

References

()

Details

(Keywords: testcase)

Attachments

(3 files)

From Bugzilla Helper German: proposed Product: Browser proposed Component: HTMLTables User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.14-5.0 i586) BuildID: 2000100722 Auf Seite http://www.jdufner.de/java/performance/index.html soll die Tabelle so dargestellt werden, dass zwischen jeder Zelle eine schwarze Linie in der Breite eines Pixels ist. Aber bei mir sind nur ein paar (nicht alle) horizontale Linien da und keine vertikalen Linien. Reproducible: Always Steps to Reproduce: 1. Einfach Seite anschauen und schon wird's klar. 2. 3. Expected Results: Zwischen jeder Zelle eine schwarze Linie in der Breite eines Pixels anzeigen (Netscape 4.7 macht's richtig.) <!-- outer table for black borders --> <table align="center" bgcolor="#000000" border="0" cellspacing="0" cellpadding="0"><tr><td> <!-- inner table for data --> <table border="0" cellspacing="1" cellpadding="5"> <tr bgcolor="#ffffff"> <td>&nbsp;</td> <td colspan="6" align="center">number of objects</td> </tr> <tr bgcolor="#ffffff"> <td rowspan="6" align="center">number of iterations</td> <td>&nbsp;</td> <td align="center">10</td> <td align="center">100</td> <td align="center">1000</td> <td align="center">10000</td> <td align="center">100000</td> </tr> <tr bgcolor="#ffffff"> <td align="right">10</td> <td align="center">&nbsp;</td> <td align="center">&nbsp;</td> <td align="center">30 / 16 = 1.875<br> 30 / 17 = 1.765<br> 30 / 17 = 1.765<br> 80.2%</td> <td align="center">356 / 179 = 1.989<br> 357 / 180 = 1.983<br> 357 / 180 = 1.983<br> 98.5%</td> <td align="center">4076 / 1820 = 2.24<br> 4056 / 1816 = 2.233<br> 4056 / 1815 = 2.235<br> 127.43%</td> </tr> </table> </td></tr></table>
Hallo, Juergen, Bei mir sind alle horizontale linien richtig! Und eine frage Juergen, wie alt bist du? Hier spricht man normal kein Deutch aber klar. Und das problem ist schon fertig und gefixed. Download dir einer der neue Mozilla version und probier dan nogmals. Viel gluck, HJ (Oef, I did not use German for over 10 years at least in writing. Pffff.)
cc'ing myself
Der Grund, warum dieser Bug Report in deutscher Sprache verfaßt wurde, steht in seiner ersten Zeile: "From Bugzilla Helper German:" (siehe http://www.kairo.at/mozilla/bugzilla-helper.html) Daher auch die Komponente "Browser Localisations" - "German-Austria/de-AT" :) Wir übersetzen deutsche Reports über allgemeine Bugs und assingnen sie dann in die "richtigen" Komponenten :) Also, ist das ein duplicate oder worksforme?
Well I guess, the appearence of this bug could depend of the mode in which Mozilla is, quirk or strict. Jürgen, you might wnat to experiment with different <doctype... statements to see, if your table looks different. Otherwise, you might want to assign the black background of the outer table to the <td> element instead of the whole <table> element, I think in the quirks mode, table backgrounds are not displayed in the cells.
Hmm, as I see this, Mozilla does exactly what the HTML document tells it: color the whole tyble row <tr> in white color, including the 1 px cellspacing iside the row. So the only places the black color shines through is between the <tr> tags, and that's exactly what happens. So to get what you want, you have to leave out the bgcolor="#ffffff" part of <tr> and insert it into every <td> (or use css for that). Then only the table cells, not the table rows, will be colored white and the black "background" table shines through every space between cells... If that is right, this is no bug in Mozilla, only NS4.x didn't really do what HTML document told it. Marking this invalidd for that case, please reopen if I'm wrong.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
marking verified, reporter, falls Du glaubst das ist ungerechtfertigt bitte wieder öffnen.
Status: RESOLVED → VERIFIED
In my oppinion there is a bug, but no as I thought. The bug depends on the font of the tablecontent. I did make a testpage at http://www.jdufner.de/tabletest.html with a inline CSS. If you comment line 12 ( td { font-family:sans-serif; } ), the page will showed right, but if you don't comment line 12 you will miss some horizontal lines. I think there is a further bug. Its a bug in 'rowspan'. As far as I know the color of the first column must be white.
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
I forgot: If I use Textsize >100% I will see all horizontal lines. So you have to change your textsize.
Assignee: KaiRo → karnaze
Component: German-Austria/de-AT → HTMLTables
Product: Browser Localizations → Browser
QA Contact: Sebastian → chrisd
Version: unspecified → other
Reassigning to HTMLTables
Changing summary to English. English bug description written at 2000-12-14 from reporter.
Summary: Fehler bei Zellenabstand in Tabelle → Error on cell spacing
adding cc list
Attached file Working example (deleted) —
I don't know if this is of any help, but it works on a diferent browsers. You need to change the summary field. Don't forget the change the OS field to all, I'm using Windows NT and it's the same in NT. This bug seems related to 'rowspan' and 'colspan' table rendering, and not to table spacing! We might even make a smaller testcase to narrow this problem. I will try this for you, I will let you know a.s.a.p. when this is done! Most friendly, HJ.
Attached file Clearly Demonstrating the bug (deleted) —
Attached image Screenshot in explorer 5.5 (deleted) —
Sorry for the spam, but if you need more help, just let me know!
Confirmed Platform: PC OS: Windows 98 Mozilla Build: 2001010204 Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
The testcases render well in quirks mode. Changing summary , OS to All win98 CVS-2000-01-04
OS: Linux → All
Summary: Error on cell spacing → Error on cell spacing in strict mode
QA contact update
QA Contact: chrisd → amar
*** This bug has been marked as a duplicate of 68998 ***
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: