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)
Tracking
()
RESOLVED
FIXED
People
(Reporter: romaxa, Assigned: bzbarsky)
References
()
Details
Attachments
(7 files)
|
289 bytes,
text/html
|
Details | |
|
218 bytes,
text/html
|
Details | |
|
10.86 KB,
text/plain
|
Details | |
|
12.32 KB,
text/plain
|
Details | |
|
1.54 KB,
patch
|
dbaron
:
review-
|
Details | Diff | Splinter Review |
|
2.08 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
|
2.15 KB,
patch
|
Details | Diff | Splinter Review |
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.
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
| Reporter | ||
Comment 3•19 years ago
|
||
| Reporter | ||
Comment 4•19 years ago
|
||
| Assignee | ||
Comment 5•19 years ago
|
||
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
| Assignee | ||
Updated•19 years ago
|
QA Contact: layout → layout.tables
nowrap overwrites fixed width in quirks mode (it hurts every time I see this)
http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsHTMLTableCellElement.cpp#374
this is coupled with
http://lxr.mozilla.org/seamonkey/source/layout/tables/nsTableCellFrame.cpp#222
and this got removed at the reflow branch
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvsroot&subdir=mozilla/layout/tables&command=DIFF_FRAMESET&file=nsTableCellFrame.cpp&rev2=3.383.4.1&rev1=3.383
| Assignee | ||
Comment 7•19 years ago
|
||
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.
Attachment #247346 -
Flags: review?(dbaron) → review-
| Assignee | ||
Comment 10•19 years ago
|
||
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.
| Assignee | ||
Comment 12•19 years ago
|
||
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+
| Assignee | ||
Comment 14•19 years ago
|
||
| Assignee | ||
Comment 15•19 years ago
|
||
Added reftest for this.
Assignee: nobody → bzbarsky
Flags: in-testsuite+
| Assignee | ||
Comment 16•19 years ago
|
||
Fixed.
Did you mean to mark fixed?
| Assignee | ||
Comment 18•19 years ago
|
||
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.
| Assignee | ||
Comment 20•19 years ago
|
||
> 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.
Description
•