WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
103802
Don't call repaintBlockSelectionGaps() after layout if there was never a selection
https://bugs.webkit.org/show_bug.cgi?id=103802
Summary
Don't call repaintBlockSelectionGaps() after layout if there was never a sele...
Simon Fraser (smfr)
Reported
2012-11-30 20:48:56 PST
When scrolling a long page, we spend a small amount of time under FrameSelection::updateAppearance(), calling clearSelection() which runs through all layers calling RenderLayer::repaintBlockSelectionGaps(). This is just a waste of cycles if there never was a selection. I was using a long review page with comments visible, on theverge.com
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-11-26 16:20:23 PST
Hi Simon - is it something we needed now? Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug