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

Side by Side Diff: lib/src/prism/tests/languages/rest/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 +-----+---------+
2 | foo | bar |
3 +=====+=========+
4 | foo | bar |
5 +-----+---------+
6
7 +---+
8 | 1 |
9 +---+
10
11 === ===
12 a b
13 === ===
14 1 2
15 === ===
16
17 ==== ==== =====
18 foo bar
19 --------- -----
20 ab cd e
21 ==== ==== =====
22 1 2 3
23 4 5 6
24 ==== ==== =====
25
26 ----------------------------------------------------
27
28 [
29 ["table", [
30 ["punctuation", "+-----+---------+"],
31 ["punctuation", "|"], " foo ", ["punctuation", "|"], " bar " , ["punctuation", "|"],
32 ["punctuation", "+=====+=========+"],
33 ["punctuation", "|"], " foo ", ["punctuation", "|"], " bar " , ["punctuation", "|"],
34 ["punctuation", "+-----+---------+"]
35 ]],
36
37 ["table", [
38 ["punctuation", "+---+"],
39 ["punctuation", "|"], " 1 ", ["punctuation", "|"],
40 ["punctuation", "+---+"]
41 ]],
42
43 ["table", [
44 ["punctuation", "==="], ["punctuation", "==="],
45 "\r\n a b\r\n",
46 ["punctuation", "==="], ["punctuation", "==="],
47 "\r\n 1 2\r\n",
48 ["punctuation", "==="], ["punctuation", "==="]
49 ]],
50
51 ["table", [
52 ["punctuation", "===="], ["punctuation", "===="], ["punctuation" , "====="],
53 "\r\n\t foo bar\r\n\t",
54 ["punctuation", "---------"], ["punctuation", "-----"],
55 "\r\n\t ab cd e\r\n\t",
56 ["punctuation", "===="], ["punctuation", "===="], ["punctuation" , "====="],
57 "\r\n\t 1 2 3\r\n\t 4 5 6\r\n\t",
58 ["punctuation", "===="], ["punctuation", "===="], ["punctuation" , "====="]
59 ]]
60 ]
61
62 ----------------------------------------------------
63
64 Checks for grid tables and simple tables.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698