Open Bug 1272174 Opened 8 years ago Updated 2 years ago

Lots of repainting and checkerboarding on https://mobile.twitter.com/home

Categories

(Core :: Layout, defect)

defect

Tracking

()

Tracking Status
platform-rel --- +
firefox49 --- affected

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [platform-rel-Twitter])

STR:
 1. Go to https://mobile.twitter.com/home and log in.
 2. Scroll down a few pages.
 3. Enable paint flashing.
 4. Slowly scroll up and down.

The whole page flashes.
They use a virtual list implementation that fills up the space on the top and bottom using padding-top and padding-bottom on the wrapper element. nsStylePadding::CalcDifference returns NS_STYLE_HINT_REFLOW which includes NS_STYLE_HINT_VISUAL which includes nsChangeHint_RepaintFrame.

I've experimentally changed NS_STYLE_HINT_REFLOW to nsChangeHint(nsChangeHint_SchedulePaint | nsChangeHint_AllReflowHints) but we're still repainting everything during scrolling.
Whiteboard: [platform-rel-Twitter]
platform-rel: --- → ?
platform-rel: ? → +
Rank: 8
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.