mirror of
https://github.com/servo/servo.git
synced 2025-09-12 16:08:20 +01:00
script: Implement scrollIntoView
(#38230)
This is an implementation for `scrollIntoView`. For now, it is called when a certain element gains focus. Testing: Existing WPT tests Fixes: #24059 Signed-off-by: abdelrahman1234567 <abdelrahman.hossameldin.awadalla@huawei.com>
This commit is contained in:
parent
dcb90bb85e
commit
17a269a8ad
34 changed files with 492 additions and 318 deletions
|
@ -1,3 +0,0 @@
|
|||
[focus-centers-element.html]
|
||||
[Element.focus() center in both directions]
|
||||
expected: FAIL
|
|
@ -1,4 +0,0 @@
|
|||
[scroll-matches-focus.html]
|
||||
expected: TIMEOUT
|
||||
[:focus applies before scrolling into view]
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue