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

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

Issue 766023002: Rename 'instant' value of scroll-behavior CSS property to 'auto' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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
1 Test that setting and getting scroll-behavior works as expected 1 Test that setting and getting scroll-behavior works as expected
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Test getting scroll-behavior set through CSS 6 Test getting scroll-behavior set through CSS
7 PASS getComputedStyle(scrollBehaviorInstant, '').getPropertyValue('scroll-behavi or') is 'instant' 7 PASS getComputedStyle(scrollBehaviorAuto, '').getPropertyValue('scroll-behavior' ) is 'auto'
8 PASS getComputedStyle(scrollBehaviorSmooth, '').getPropertyValue('scroll-behavio r') is 'smooth' 8 PASS getComputedStyle(scrollBehaviorSmooth, '').getPropertyValue('scroll-behavio r') is 'smooth'
9 9
10 Test initial value of scroll-behavior 10 Test initial value of scroll-behavior
11 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt' 11 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'auto'
12 12
13 Test getting and setting scroll-behavior through JS 13 Test getting and setting scroll-behavior through JS
14 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h' 14 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
15 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt' 15 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'auto'
16 16
17 Test the value 'initial' 17 Test the value 'initial'
18 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h' 18 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
19 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt' 19 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'auto'
20 20
21 Test the value 'inherit' 21 Test the value 'inherit'
22 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth' 22 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth'
23 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h' 23 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'smoot h'
24 24
25 Test that scroll-behavior is not inherited by default 25 Test that scroll-behavior is not inherited by default
26 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth' 26 PASS getComputedStyle(parentElement, '').getPropertyValue('scroll-behavior') is 'smooth'
27 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'insta nt' 27 PASS getComputedStyle(element, '').getPropertyValue('scroll-behavior') is 'auto'
28 PASS successfullyParsed is true 28 PASS successfullyParsed is true
29 29
30 TEST COMPLETE 30 TEST COMPLETE
31 31
OLDNEW
« no previous file with comments | « LayoutTests/fast/scroll-behavior/parse-scroll-behavior.html ('k') | LayoutTests/fast/scroll-behavior/subframe-scroll.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698