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
245478
Web Inspector: Computed tab scrolls back to top when <style> is added to page
https://bugs.webkit.org/show_bug.cgi?id=245478
Summary
Web Inspector: Computed tab scrolls back to top when <style> is added to page
Jeff Johnson
Reported
2022-09-21 07:21:29 PDT
Safari 16.0 (17614.1.25.9.10, 17614) on macOS 12.6 (21G115) Steps to reproduce: 1) Open
https://webkit.org
in Safari 2) Inspect Element on any element in the page 3) Select the Computed tab 4) Scroll down the Computed tab 5) In the console, enter: document.head.appendChild(document.createElement("style")); Expected results: The Computed scroll position is preserved Actual results: The Computed tab is scrolled back to the top This behavior makes it extremely difficult to inspect some web sites. I see this behavior on
https://www.cnn.com
for example, where the Computed tab is constantly constantly scrolling back to the top, so I can't even see what the values are of properties scrolled down.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-28 07:22:19 PDT
<
rdar://problem/100507752
>
Razvan Caliman
Comment 2
2022-09-28 13:29:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/4802
EWS
Comment 3
2022-09-29 09:52:45 PDT
Committed
255001@main
(94fb9bb96d6a): <
https://commits.webkit.org/255001@main
> Reviewed commits have been landed. Closing PR #4802 and removing active labels.
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