Closed Bug 271303 Opened 20 years ago Closed 15 years ago

display of some photos on this site differs from Internet Explorer

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: brettsalter, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

In the page at http://www.sharonbailey.com/rings2.htm, the picture is displayed
further to the right than with Internet Explorer, which centers it (use back
arrow to left of photo to see where it should be).

Reproducible: Always
Steps to Reproduce:
1.just go to indicated page
2.
3.

Actual Results:  
Picture is displayed too far to the right.

Expected Results:  
Picture should be centered between the arrows.
-> Core:Layout Tables
Assignee: firefox → nobody
Component: General → Layout: Tables
Keywords: testcase
OS: Windows 98 → All
Product: Firefox → Core
QA Contact: firefox.general → core.layout.tables
Version: unspecified → Trunk
Attached file Testcase #2
With cellpadding/cellspacing=0 and some measurements.
AFAICT from http://www.w3.org/TR/CSS21/tables.html#auto-table-layout
the table in Testcase #2 should be 422px wide (76 + 259 + 87).

(FWIW, Opera 7.54/Linux is also 396px but it narrows cell 1 and 3 evenly)
Mats, so the bug is invalid?
(In reply to comment #5)
> Mats, so the bug is invalid?

No, the CSS2.1 spec says the table should be 422px AFAICT.  So, if that means
anything to us it's a valid bug. (None of IE/Opera/Moz follow the spec here so
one might argue it's a bug in the spec. - or I have simply misunderstood
what the spec says).

On the other hand, if we want to follow IE/Opera we should try to steal
422-396 pixels "evenly" from the columns that has MEW < specified size (cell 1
and 3 here). I checked how Opera implements "evenly" breifly, it seems it's
based on the relative "specified size - MEW" for the columns.
(bug 243037 looks very similar)
Depends on: 243037
we render this like IE and webkit, marking wfm, please reopen if you still see a problem here
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: