Bug 243517
Summary: | scrollIntoView() does not work on option elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | CSS | Assignee: | Simon Fraser (smfr) <simon.fraser> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, karlcow, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan |
Priority: | P2 | Keywords: | BrowserCompat, InRadar |
Version: | Safari 15 | ||
Hardware: | All | ||
OS: | All |
Ahmad Saleem
Hi Team,
Came across another interesting test case from Mozilla Bugzilla, where Safari 15.6 is failing similar to Firefox but Chrome is showing desired behavior.
Test Case (Changed into JSFiddle) - https://jsfiddle.net/5zuhsp24/show
Test Case (from Mozilla Bug) - https://bug1389779.bmoattachments.org/attachment.cgi?id=8896610
Mozilla Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=1389779
___
STEPS TO REPRODUCE:
1) Open JSFiddle & Run
EXPECTED RESULTS:
In "Bug" Select, you should see text "I'm visible" similar to other like "workaround"
ACTUAL RESULT:
"I'm visible" is not showing up in scrollIntoView()
** Other Browsers **
Firefox Nightly 105 - Bug exists and it is same as Safari 15.6
Chrome Canary 106 - Bug does not exist and both "scrollIntoView()" and "workaround" show "I'm visible" text.
___
I think fixing this would be great so "no" workarounds are required.
Thanks for your continuous support.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/98475444>
Karl Dubost
seeAlso https://bugzilla.mozilla.org/show_bug.cgi?id=1389779
Simon Fraser (smfr)
Pull request: https://github.com/WebKit/WebKit/pull/3438
EWS
Committed 253585@main (98069e5b6777): <https://commits.webkit.org/253585@main>
Reviewed commits have been landed. Closing PR #3438 and removing active labels.