WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
96158
Need API to suppress scrollbar animations
https://bugs.webkit.org/show_bug.cgi?id=96158
Summary
Need API to suppress scrollbar animations
Beth Dakin
Reported
2012-09-07 16:52:12 PDT
We need WK2 API to suppress overlay scrollbar animations. <
rdar://problem/12210972
>
Attachments
Patch
(21.09 KB, patch)
2012-09-07 17:08 PDT
,
Beth Dakin
no flags
Details
Formatted Diff
Diff
Patch
(21.08 KB, patch)
2012-09-07 17:16 PDT
,
Beth Dakin
no flags
Details
Formatted Diff
Diff
Patch
(33.77 KB, patch)
2012-09-10 16:00 PDT
,
Beth Dakin
sam
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Beth Dakin
Comment 1
2012-09-07 17:08:44 PDT
Created
attachment 162913
[details]
Patch
WebKit Review Bot
Comment 2
2012-09-07 17:13:10 PDT
Attachment 162913
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/page/FrameView.cpp:2759: One line control clauses should not use braces. [whitespace/braces] [4] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Beth Dakin
Comment 3
2012-09-07 17:16:02 PDT
Created
attachment 162916
[details]
Patch
Darin Adler
Comment 4
2012-09-07 19:04:51 PDT
Comment on
attachment 162916
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=162916&action=review
> Source/WebCore/page/FrameView.cpp:2747 > + if (Page* page = m_frame->page()) { > + if (page->shouldSuppressScrollbarAnimations()) > + return false; > + }
Adding this code to the function makes it no longer “is on active page”, so I think you need to either rename the function or move this additional check elsewhere.
Beth Dakin
Comment 5
2012-09-10 16:00:33 PDT
Created
attachment 163239
[details]
Patch You're right. I really think that the function should change it's name rather than separating the two concepts. All of the callers of isOnActivePage() use that function to learn whether scrollbar painting and animating should proceed, so the function should just be re-named to reflect that. Here's a patch with a go at a new name.
Build Bot
Comment 6
2012-09-10 17:05:37 PDT
Comment on
attachment 163239
[details]
Patch
Attachment 163239
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/13806545
Beth Dakin
Comment 7
2012-09-10 17:37:52 PDT
Thanks Sam! Committed change with
http://trac.webkit.org/changeset/128134
I think I got all the build-fixing done in there.
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