mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +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,13 +1,13 @@
|
|||
[scrollIntoView-smooth.html]
|
||||
expected: TIMEOUT
|
||||
[Smooth scrollIntoView should scroll the element to the 'center' position]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Smooth scrollIntoView should scroll the element to the 'end' position]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Smooth scrollIntoView should scroll the element to the 'nearest' position]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Smooth scrollIntoView should scroll the element to the 'start' position]
|
||||
expected: FAIL
|
||||
|
||||
expected: NOTRUN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue