Closed Bug 310089 Opened 19 years ago Closed 18 years ago

{inc}incremental reflow intrinsic width of max-width block inside table is too wide

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nmaier, Unassigned)

References

Details

(Whiteboard: [reflow-refactor])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8b5) Gecko/20050924 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8b5) Gecko/20050924 Firefox/1.4

No reflow done for max-width'ed elements inside table-cells.
Seems the newly restricted (computed) width is not considered correctly.

Assignment of maxWidth via js always fails.

While max-width in style fails only on first load (non-cached) and only on
particular document structures.

Seems to have to do with loading/rendering stages and or timeing? But Im not
familar with Gecko or moz source hacking.

Not sure if this is tables only. Or if eg. floats are affected as well. (not
tested further).

Attaching a testcase.

Reproducible: Always

Steps to Reproduce:
And spamming some more :p

Just saw that loading this via file:// doesnt affect the first max-width table.
And the bugzilla version does not either.
Seems to be a timeing related issue, since I saw it displayed incorrectly when
using a somewhat slow server.

Having nglayout.initialpaint.delay = 0
Dupe of bug 307866 / bug 308403?
Assignee: dbaron → nobody
Status: UNCONFIRMED → NEW
Component: Style System (CSS) → Layout: Block and Inline
Ever confirmed: true
QA Contact: ian → layout.block-and-inline
Summary: bad CSS max-width / maxWidth reflow (inside tables) → {inc}incremental reflow intrinsic width of max-width block inside table is too wide
No, those are about 'max-width' on table cells, not on blocks inside table cells.
Whiteboard: [reflow-refactor]
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo]

Seems fixed by reflow branch landing
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: