Closed Bug 362594 Opened 19 years ago Closed 19 years ago

[reflow branch] Sonera.fi not rendered properly with reflow branch

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: romaxa, Assigned: bzbarsky)

References

()

Details

Attachments

(7 files)

REFLOW_20061031_BRANCH open www.sonera.fi Top part of web page not rendered properly. See screen shot of trunk and reflow branch build in attachments.
Attached file More simple testcase
Attached file Reflow log from trunk
Right. So the table is overconstrained, it tries to compute min widths for all the cells and then rebalance the table. The MEW that comes back on trunk seems to be effectively wrong; the MEW on the reflow branch is correct, so the cell is allowed to shrink to 225px (on that first testcase), at which point the images don't fit... I thought we had something interesting that happened with MEW for nowrap cells... did that go away on branch?
Component: Layout → Layout: Tables
QA Contact: layout → layout.tables
Attached patch Possible patchSplinter Review
Or should this live in the layout strategy impls?
Attachment #247346 - Flags: review?(dbaron)
Comment on attachment 247346 [details] [diff] [review] Possible patch The main problem with this is that it breaks the invariant that min width <= pref width. Also, the outer comment seems to be wrong.
Although, actually, this should live in the layout strategy, given that we probably don't want this to affect 'width: min-intrinsic' -- that would lead to a contradiction.
OK. Do we want to do this for fixed layout too? I would assume "no". And yeah, the comment is bogus on trunk....
(In reply to comment #10) > OK. Do we want to do this for fixed layout too? I would assume "no". I would also assume "no", given that we probably don't need quirks there given how rarely it's used.
Attachment #247360 - Flags: review?(dbaron)
Comment on attachment 247360 [details] [diff] [review] Do it in the strategy r=dbaron if you fix the comment to mention the "w > minCoord" condition. (Maybe replace "as the" with "to increase the"?)
Attachment #247360 - Flags: review?(dbaron) → review+
Added reftest for this.
Assignee: nobody → bzbarsky
Flags: in-testsuite+
Fixed.
Yes.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
(In reply to comment #15) > Added reftest for this. In the -4 tests, did you mean the difference between border="1" and border="4"? Also, it might have been good to call them 1-quirks and 1-standards instead of 1 and 3, etc.
> In the -4 tests, did you mean the difference between border="1" and border="4"? No. Fixed. > Also, it might have been good to call them 1-quirks and 1-standards Ah, good call. Also fixed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: