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

Side by Side Diff: lib/src/prism/tests/languages/textile/table_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 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
(Empty)
1 |_. foo |<_. bar |>_. baz |
2 |<>. foo |(((. bar |)). baz |
3 |~. foo |^. bar |=. baz |
4 |/2. bar |\2. foo
5 bar
6 baz |
7 |\2~>. foobarbaz |
8
9 (foo).|(bar).Baz|
10 (#foo).|(#bar).Baz|
11 [fr].|[en].Baz|
12 {color: blue}.|{font-weight:bold}.Baz|
13 (foo#bar){font-style:italic}[fr].|{background:red;}(bar#baz)[en].Baz|
14
15 |*bold*|**bold**|_italic_|__italic__|
16 |??cite??|@code@|+inserted+|-deleted-|
17 |%span%|"foo":http://example.com|!foo.jpg!|bar[2]|
18 |\2.CSS(Cascading Style Sheet)|\2.Foo(TM)|
19
20 ----------------------------------------------------
21
22 [
23 ["phrase", [
24 ["table", [
25 ["punctuation", "|"],
26 ["modifier", [["punctuation", "_"]]],
27 ["punctuation", "."],
28 " foo ",
29 ["punctuation", "|"],
30 ["modifier", [["punctuation", "<"], ["punctuation", "_"] ]],
31 ["punctuation", "."],
32 " bar ",
33 ["punctuation", "|"],
34 ["modifier", [["punctuation", ">"], ["punctuation", "_"] ]],
35 ["punctuation", "."],
36 " baz ", ["punctuation", "|"],
37
38 ["punctuation", "|"],
39 ["modifier", [["punctuation", "<"], ["punctuation", ">"] ]],
40 ["punctuation", "."],
41 " foo ",
42 ["punctuation", "|"],
43 ["modifier", [["punctuation", "("], ["punctuation", "("] , ["punctuation", "("]]],
44 ["punctuation", "."],
45 " bar ",
46 ["punctuation", "|"],
47 ["modifier", [["punctuation", ")"], ["punctuation", ")"] ]],
48 ["punctuation", "."],
49 " baz ", ["punctuation", "|"],
50
51 ["punctuation", "|"],
52 ["modifier", [["punctuation", "~"]]],
53 ["punctuation", "."],
54 " foo ",
55 ["punctuation", "|"],
56 ["modifier", [["punctuation", "^"]]],
57 ["punctuation", "."],
58 " bar ",
59 ["punctuation", "|"],
60 ["modifier", [["punctuation", "="]]],
61 ["punctuation", "."],
62 " baz ", ["punctuation", "|"],
63
64 ["punctuation", "|"],
65 ["modifier", [["punctuation", "/2"]]],
66 ["punctuation", "."],
67 " bar ",
68 ["punctuation", "|"],
69 ["modifier", [["punctuation", "\\2"]]],
70 ["punctuation", "."],
71 " foo\r\nbar\r\nbaz ", ["punctuation", "|"],
72
73 ["punctuation", "|"],
74 ["modifier", [["punctuation", "\\2"], ["punctuation", "~ "], ["punctuation", ">"]]],
75 ["punctuation", "."],
76 " foobarbaz ", ["punctuation", "|"]
77 ]]
78 ]],
79
80 ["phrase", [
81 ["table", [
82 ["modifier", [
83 ["punctuation", "("], ["class-id", "foo"], ["pun ctuation", ")"]
84 ]],
85 ["punctuation", "."], ["punctuation", "|"],
86 ["modifier", [
87 ["punctuation", "("], ["class-id", "bar"], ["pun ctuation", ")"]
88 ]],
89 ["punctuation", "."], "Baz", ["punctuation", "|"],
90
91 ["modifier", [
92 ["punctuation", "("], ["class-id", "#foo"], ["pu nctuation", ")"]
93 ]],
94 ["punctuation", "."], ["punctuation", "|"],
95 ["modifier", [
96 ["punctuation", "("], ["class-id", "#bar"], ["pu nctuation", ")"]
97 ]],
98 ["punctuation", "."], "Baz", ["punctuation", "|"],
99
100 ["modifier", [
101 ["punctuation", "["], ["lang", "fr"], ["punctuat ion", "]"]
102 ]],
103 ["punctuation", "."], ["punctuation", "|"],
104 ["modifier", [
105 ["punctuation", "["], ["lang", "en"], ["punctuat ion", "]"]
106 ]],
107 ["punctuation", "."], "Baz", ["punctuation", "|"],
108
109 ["modifier", [
110 ["css", ["{color: blue}"]]
111 ]],
112 ["punctuation", "."], ["punctuation", "|"],
113 ["modifier", [
114 ["css", ["{font-weight:bold}"]]
115 ]],
116 ["punctuation", "."], "Baz", ["punctuation", "|"],
117
118 ["modifier", [
119 ["punctuation", "("], ["class-id", "foo#bar"], [ "punctuation", ")"],
120 ["css", ["{font-style:italic}"]],
121 ["punctuation", "["], ["lang", "fr"], ["punctuat ion", "]"]
122 ]],
123 ["punctuation", "."], ["punctuation", "|"],
124 ["modifier", [
125 ["css", ["{background:red;}"]],
126 ["punctuation", "("], ["class-id", "bar#baz"], [ "punctuation", ")"],
127 ["punctuation", "["], ["lang", "en"], ["punctuat ion", "]"]
128 ]],
129 ["punctuation", "."], "Baz", ["punctuation", "|"]
130 ]]
131 ]],
132
133 ["phrase", [
134 ["table", [
135 ["punctuation", "|"],
136 ["inline", [["punctuation", "*"], ["bold", "bold"], ["pu nctuation", "*"]]],
137 ["punctuation", "|"],
138 ["inline", [["punctuation", "**"], ["bold", "bold"], ["p unctuation", "**"]]],
139 ["punctuation", "|"],
140 ["inline", [["punctuation", "_"], ["italic", "italic"], ["punctuation", "_"]]],
141 ["punctuation", "|"],
142 ["inline", [["punctuation", "__"], ["italic", "italic"], ["punctuation", "__"]]],
143 ["punctuation", "|"],
144
145 ["punctuation", "|"],
146 ["inline", [["punctuation", "??"], ["cite", "cite"], ["p unctuation", "??"]]],
147 ["punctuation", "|"],
148 ["inline", [["punctuation", "@"], ["code", "code"], ["pu nctuation", "@"]]],
149 ["punctuation", "|"],
150 ["inline", [["punctuation", "+"], ["inserted", "inserted "], ["punctuation", "+"]]],
151 ["punctuation", "|"],
152 ["inline", [["punctuation", "-"], ["deleted", "deleted"] , ["punctuation", "-"]]],
153 ["punctuation", "|"],
154
155 ["punctuation", "|"],
156 ["inline", [["punctuation", "%"], ["span", "span"], ["pu nctuation", "%"]]],
157 ["punctuation", "|"],
158 ["link", [["punctuation", "\""], ["text", "foo"], ["punc tuation", "\""], ["punctuation", ":"], ["url", "http://example.com"]]],
159 ["punctuation", "|"],
160 ["image", [["punctuation", "!"], ["source", "foo.jpg"], ["punctuation", "!"]]],
161 ["punctuation", "|"],
162 "bar", ["footnote", [["punctuation", "["], "2", ["punctu ation", "]"]]],
163 ["punctuation", "|"],
164
165 ["punctuation", "|"], ["modifier", [["punctuation", "\\2 "]]], ["punctuation", "."],
166 ["acronym", ["CSS", ["punctuation", "("], ["comment", "C ascading Style Sheet"], ["punctuation", ")"]]],
167 ["punctuation", "|"], ["modifier", [["punctuation", "\\2 "]]], ["punctuation", "."],
168 "Foo", ["mark", [["punctuation", "("], "TM", ["punctuati on", ")"]]],
169 ["punctuation", "|"]
170 ]]
171 ]]
172 ]
173
174 ----------------------------------------------------
175
176 Checks for tables with alignment modifiers and spanning.
177 Also checks for nesting inline styles.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/textile/mark_feature.test ('k') | lib/src/prism/tests/languages/twig+jade/twig_inclusion.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698