WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
174567
Remove ancient immediate repaint hack in Element::setActive()
https://bugs.webkit.org/show_bug.cgi?id=174567
Summary
Remove ancient immediate repaint hack in Element::setActive()
Andreas Kling
Reported
2017-07-16 09:10:56 PDT
Element::setActive() has a crazy old hack that tries to force a paint, sleep a bit, and then force another paint. It's been there since early WK1/KHTML days, and clearly doesn't work in the new WK2 world. Let's get rid of it.
Attachments
Proposed patch
(20.54 KB, patch)
2017-07-16 09:28 PDT
,
Andreas Kling
wenson_hsieh
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews124 for ios-simulator-wk2
(1.04 MB, application/zip)
2017-07-16 11:10 PDT
,
Build Bot
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2017-07-16 09:28:42 PDT
Created
attachment 315610
[details]
Proposed patch
Build Bot
Comment 2
2017-07-16 09:31:10 PDT
Attachment 315610
[details]
did not pass style-queue: ERROR: Source/WebCore/html/HTMLAnchorElement.h:80: The parameter name "active" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 3
2017-07-16 11:10:54 PDT
Comment on
attachment 315610
[details]
Proposed patch
Attachment 315610
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/4131399
New failing tests: http/tests/canvas/canvas-tainted-after-draw-image.html
Build Bot
Comment 4
2017-07-16 11:10:56 PDT
Created
attachment 315613
[details]
Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
Wenson Hsieh
Comment 5
2017-07-16 12:58:40 PDT
Comment on
attachment 315610
[details]
Proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=315610&action=review
LGTM, as long as there are no WebKit1 clients who still depend on this codepath. We should make sure that this doesn't break media controls in the Messages transcript, or links/buttons in iBooks.
> Source/WebCore/html/HTMLAnchorElement.h:80 > + void setActive(bool active = true) final;
Can we just make this bool = true while we're at it?
Brent Fulgham
Comment 6
2022-08-02 15:57:32 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/2968
Brent Fulgham
Comment 7
2022-08-02 19:27:10 PDT
Pull request:
https://github.com/Webkit/WebKit/pull/2968
EWS
Comment 8
2022-08-03 09:27:11 PDT
Committed
253078@main
(febc2b35e816): <
https://commits.webkit.org/253078@main
> Reviewed commits have been landed. Closing PR #2968 and removing active labels.
Radar WebKit Bug Importer
Comment 9
2022-08-03 09:28:17 PDT
<
rdar://problem/98058542
>
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