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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-align-last/getComputedStyle/getComputedStyle-text-align-last-inherited-expected.txt

Issue 709193003: Don't require getPropertyCSSValue in css3-text getComputedStyle tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 This test checks that the value of text-align-last is properly inherited to the child. 1 This test checks that the value of text-align-last is properly inherited to the child.
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 Value of ancestor is 'start': 6 Value of ancestor is 'start':
7 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'start' 7 PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
8 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'start' 8 PASS window.getComputedStyle(child).textAlignLast is 'start'
9 9
10 Value of ancestor is 'end': 10 Value of ancestor is 'end':
11 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'end' 11 PASS window.getComputedStyle(ancestor).textAlignLast is 'end'
12 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'end' 12 PASS window.getComputedStyle(child).textAlignLast is 'end'
13 13
14 Value of ancestor is 'left': 14 Value of ancestor is 'left':
15 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'left' 15 PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
16 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'left' 16 PASS window.getComputedStyle(child).textAlignLast is 'left'
17 17
18 Value of ancestor is 'right': 18 Value of ancestor is 'right':
19 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'right' 19 PASS window.getComputedStyle(ancestor).textAlignLast is 'right'
20 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'right' 20 PASS window.getComputedStyle(child).textAlignLast is 'right'
21 21
22 Value of ancestor is 'center': 22 Value of ancestor is 'center':
23 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'center' 23 PASS window.getComputedStyle(ancestor).textAlignLast is 'center'
24 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'center' 24 PASS window.getComputedStyle(child).textAlignLast is 'center'
25 25
26 Value of ancestor is 'justify': 26 Value of ancestor is 'justify':
27 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'justify' 27 PASS window.getComputedStyle(ancestor).textAlignLast is 'justify'
28 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'justify' 28 PASS window.getComputedStyle(child).textAlignLast is 'justify'
29 29
30 Value of ancestor is 'auto': 30 Value of ancestor is 'auto':
31 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'auto' 31 PASS window.getComputedStyle(ancestor).textAlignLast is 'auto'
32 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'auto' 32 PASS window.getComputedStyle(child).textAlignLast is 'auto'
33 33
34 Value of ancestor is 'start, while child is 'end': 34 Value of ancestor is 'start, while child is 'end':
35 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'start' 35 PASS window.getComputedStyle(ancestor).textAlignLast is 'start'
36 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'end' 36 PASS window.getComputedStyle(child).textAlignLast is 'end'
37 37
38 Value of ancestor is 'left, while child is 'right': 38 Value of ancestor is 'left, while child is 'right':
39 PASS window.getComputedStyle(ancestor).getPropertyCSSValue('text-align-last').cs sText is 'left' 39 PASS window.getComputedStyle(ancestor).textAlignLast is 'left'
40 PASS window.getComputedStyle(child).getPropertyCSSValue('text-align-last').cssTe xt is 'right' 40 PASS window.getComputedStyle(child).textAlignLast is 'right'
41 41
42 PASS successfullyParsed is true 42 PASS successfullyParsed is true
43 43
44 TEST COMPLETE 44 TEST COMPLETE
45 hello world 45 hello world
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698