Closed Bug 15722 Opened 26 years ago Closed 25 years ago

changing image in titledbutton forces reflow

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: mikepinkerton, Assigned: eric)

Details

(Keywords: css-moz, Whiteboard: need to rewrite titledbutton to use pseudo-style)

turn on paint flashing, mouse over a gfx scrollbar (like in bookmarks window) and you'll see the whole tree reflow/repaint. this is happening because the :hover rule for each component of the titledbutton sets the list-style-image property in CSS. While the titledbutton code can tell that the new image is the same size as the old one and only a paint is needed, the style system assumes a reflow is needed.
Assignee: pinkerton → evaughan
Summary: mousing over gfx scrollbars causes extra reflow → changing image in titledbutton forces reflow
Whiteboard: need to rewrite titledbutton to use pseudo-style
Target Milestone: M15
after talking to evaughan and peterl, we need to suck up and deal and do the work to not use the list-stlye-image tag but use a pseudo-element and the content property. changing the summary, moving out to M15, assigning to evaughan
Status: NEW → ASSIGNED
Summary: changing image in titledbutton forces reflow → {css-moz} changing image in titledbutton forces reflow
Keywords: css-moz
Summary: {css-moz} changing image in titledbutton forces reflow → changing image in titledbutton forces reflow
targeting
Target Milestone: M15 → M16
Target Milestone: M16 → M17
Mass moving M17 bugs to M18
Target Milestone: M17 → M18
titledbutton are deprecated and should never be used. This bug is now invalid.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
allrighty then. Marking VERIFIED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.