Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: LayoutTests/fast/scroll-behavior/parse-scroll-behavior-expected.txt

Issue 140253004: Implement 'scroll-behavior' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Test that setting and getting scroll-behavior works as expected
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Test getting scroll-behavior set through CSS
7 PASS getComputedStyle(scrollBehaviorInstant, '').getPropertyValue('scroll-behavi or') is 'instant'
8 PASS getComputedStyle(scrollBehaviorSmooth, '').getPropertyValue('scroll-behavio r') is 'smooth'
9
10 Test initial value of scroll-behavior
11 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt'
12
13 Test getting and setting scroll-behavior through JS
14 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
15 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt'
16
17 Test the value 'initial'
18 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
19 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt'
20
21 Test the value 'inherit'
22 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth'
23 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
24
25 Test that scroll-behavior is not inherited by default
26 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth'
27 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt'
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698