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

Side by Side Diff: LayoutTests/fast/css3-text/css3-text-justify/getComputedStyle/getComputedStyle-text-justify-expected.txt

Issue 17155007: [CSS3] Parsing the property, text-justify. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parsingTextJustify
Patch Set: Modify the test case Created 7 years, 2 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
OLDNEW
(Empty)
1 This test checks that text-justify parses properly the properties from CSS 3 Tex t.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Computed value test - 'initial':
7 PASS element.style.textJustify is 'initial'
8 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'initial'
9 PASS computedStyle.textJustify is 'auto'
10 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'auto'
11
12 Value 'none':
13 PASS element.style.textJustify is 'none'
14 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none'
15 PASS computedStyle.textJustify is 'none'
16 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none'
17
18 Value 'inter-word':
19 PASS element.style.textJustify is 'inter-word'
20 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inter-word'
21 PASS computedStyle.textJustify is 'inter-word'
22 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word'
23
24 Value 'distribute':
25 PASS element.style.textJustify is 'distribute'
26 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute'
27 PASS computedStyle.textJustify is 'distribute'
28 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute'
29
30 Presetted value is none
31 Invalid value test - 'green':
32 PASS element.style.textJustify is 'none'
33 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none'
34 PASS computedStyle.textJustify is 'none'
35 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none'
36
37 Invalid value test - 'inline':
38 PASS element.style.textJustify is 'none'
39 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'none'
40 PASS computedStyle.textJustify is 'none'
41 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none'
42
43 Presetted value is distribute
44 Invalid value test - 'solid':
45 PASS element.style.textJustify is 'distribute'
46 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute'
47 PASS computedStyle.textJustify is 'distribute'
48 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute'
49
50 Invalid value test - 'normal':
51 PASS element.style.textJustify is 'distribute'
52 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute'
53 PASS computedStyle.textJustify is 'distribute'
54 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute'
55
56 Computed value test - 'inherit':
57 PASS element.style.textJustify is 'inherit'
58 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit'
59 PASS computedStyle.textJustify is 'none'
60 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'none'
61
62 Computed value test - 'inherit':
63 PASS element.style.textJustify is 'inherit'
64 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inherit'
65 PASS computedStyle.textJustify is 'distribute'
66 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute'
67
68 Value of ancestor is 'inter-word, while child is 'distribute':
69 PASS element.style.textJustify is 'distribute'
70 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'distribute'
71 PASS computedStyle.textJustify is 'distribute'
72 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'distribute'
73
74 Value of ancestor is 'none, while child is 'inter-word':
75 PASS element.style.textJustify is 'inter-word'
76 PASS element.style.getPropertyCSSValue('text-justify').cssText is 'inter-word'
77 PASS computedStyle.textJustify is 'inter-word'
78 PASS computedStyle.getPropertyCSSValue('text-justify').cssText is 'inter-word'
79
80 PASS successfullyParsed is true
81
82 TEST COMPLETE
83 Hello World
84 Inherit Test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698