Closed Bug 349297 Opened 18 years ago Closed 18 years ago

[reflow branch] Horizontal scrollbar on hetfotoalbum.nl

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: martijn.martijn, Assigned: dbaron)

References

()

Details

(Keywords: testcase, Whiteboard: [rounding error][patch])

Attachments

(2 files, 1 obsolete file)

See upcoming testcase, I get a horizontal scrollbar on hetfotoalbum, which I don't get with the normal builds.
Attached file testcase
Do you still see this? I don't.
I'm still seeing this bug with current reflow branch build.
And today I don't see it...
Ah, I see it at some window widths but not others.
Whiteboard: [rounding error]
The problem here is the RoundToPixel call in BasicTableLayoutStrategy::ComputeColumnWidths, which always rounds up. It's not clear to me when the old code rounded, or why, but I suppose I should probably just remove the rounding. At least once I have a clean enough tree to do that.
Attached patch patch (obsolete) — Splinter Review
So I no longer see the bug at all, with or without this patch. I wrote this patch a few weeks ago, and I'm not sure if it helped at the time, but it didn't fix it completely. However, I think we do want this patch -- I think it will fix some reftest failures that we currently see at some values of p2t (which I currently see when running them on Mac, on some of the tests for 18217, where an inline-table ends up with an extra pixel of space at the end relative to an inline), and I don't see any reason that tables should round differently from the rest of the code.
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #253829 - Flags: superreview?(roc)
Attachment #253829 - Flags: review?(bernd_mozilla)
Whiteboard: [rounding error] → [rounding error][patch]
Attachment #253829 - Flags: review?(bernd_mozilla) → review+
Attachment #253829 - Flags: superreview?(roc) → superreview+
Blocks: 365748
Attached patch patchSplinter Review
Merged with bug 177805.
Attachment #253829 - Attachment is obsolete: true
Checked in to trunk, 2007-02-08 11:20 -0800. If this didn't fix it, then the combination with bug 369318 really should have.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Yes, it is fixed now, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a3pre) Gecko/20070209 Minefield/3.0a3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: