mirror of
https://github.com/servo/servo.git
synced 2025-09-18 19:08:22 +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
|
@ -35,15 +35,6 @@
|
|||
[Main frame with smooth scroll-behavior ; scrollBy() with smooth behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with auto scroll-behavior ; scrollIntoView() with default behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with auto scroll-behavior ; scrollIntoView() with auto behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with auto scroll-behavior ; scrollIntoView() with instant behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with auto scroll-behavior ; scrollIntoView() with smooth behavior]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -53,9 +44,6 @@
|
|||
[Main frame with smooth scroll-behavior ; scrollIntoView() with auto behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with smooth scroll-behavior ; scrollIntoView() with instant behavior]
|
||||
expected: FAIL
|
||||
|
||||
[Main frame with smooth scroll-behavior ; scrollIntoView() with smooth behavior]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue