Summary: | REGRESSION(r210226): Keyboard-focused element not preserved when navigating back through page cache, causing multiple elements to have focus | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||
Component: | New Bugs | Assignee: | Andreas Kling <kling> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | buildbot, cdumez, commit-queue, dbates, esprehn+autocc, kangil.han, kling, koivisto, simon.fraser, webkit-bug-importer | ||||
Priority: | P1 | Keywords: | InRadar, Regression | ||||
Version: | WebKit Local Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | data:text/html,<a%20href="about:blank#1">1</a><a%20href="about:blank#2">2</a><a%20href="about:blank#3">3</a> | ||||||
Attachments: |
|
Description
mitz
2017-07-09 15:00:09 PDT
Regressed with https://trac.webkit.org/r210226 I think I see the problem here. Document::destroyRenderTree() is clearing the various DOM pointers to "user action elements", including the currently focused element. This feels like a red patch, just need to write a test case. Thanks mitz for the really great bug report! Created attachment 314977 [details]
Patch
Comment on attachment 314977 [details] Patch Clearing flags on attachment: 314977 Committed r219296: <http://trac.webkit.org/changeset/219296> All reviewed patches have been landed. Closing bug. |