Closed Bug 298378 Opened 19 years ago Closed 19 years ago

li in columns render corrupt when zoomed

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mrmazda, Assigned: roc)

Details

(Keywords: css3)

Attachments

(3 files)

To reproduce:
1-load testcase
2-ctrl++ 3 times

Actual results:
1-content of .linklist disappears
2-too many list items for alloted right column space
3-right column of .linkscol2 text overlaps

Expected results:
1-everything paints properly

Notes:
1-Tested on XP on current DP and on Linux on current trunk.
2-ctrl+- fixes it
3-reload fixes it
4-text-decoration: underline not necessary, just highlights problem at lesser zoom
5-if inline styles are removed from the testcase, the content of .linklist fails
to disappear on zoom
What happens is that the first reflow of the columnset is a stylechanged reflow.
But because we increased the fontsize, some of the child elements don't fit,
they move to the overflow list and don't get reflowed. Then the column set
adjusts the column height and reflows the elements again with a resize reflow.
This time the elements fit but the resize-reflow optimizations decide that some
of the child elements' lines don't need to be marked dirty, so they never get
the reflow that the style-change reflow demanded.
David's reflow branch will fix this properly. In the meantime I can have the
column set keep issuing style-change reflows until the columns are complete, at
which point we know that all children have been reflowed.
Attached patch fixSplinter Review
Fairly simple fix to incremental-reflow issue in columns ... but really your
reflow branch is needed here.
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #187100 - Flags: superreview?(dbaron)
Attachment #187100 - Flags: review?(dbaron)
Attachment #187100 - Flags: superreview?(dbaron)
Attachment #187100 - Flags: superreview+
Attachment #187100 - Flags: review?(dbaron)
Attachment #187100 - Flags: review+
Comment on attachment 187100 [details] [diff] [review]
fix

incremental reflow fix, affects columns only
Attachment #187100 - Flags: approval1.8b3?
Attachment #187100 - Flags: approval1.8b3? → approval1.8b3+
checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: