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

Side by Side Diff: lib/src/prism/tests/languages/jade/script_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 script alert(42);
2 script(type='text/javascript') alert(42);
3
4 ----------------------------------------------------
5
6 [
7 ["tag", [
8 "script"
9 ]],
10 ["script", [
11 ["function", "alert"],
12 ["punctuation", "("],
13 ["number", "42"],
14 ["punctuation", ")"],
15 ["punctuation", ";"]
16 ]],
17 ["tag", [
18 "script",
19 ["attributes", [
20 ["punctuation", "("],
21 ["attr-name", "type"],
22 ["punctuation", "="],
23 ["attr-value", [["string", "'text/javascript'"]]],
24 ["punctuation", ")"]
25 ]]
26 ]],
27 ["script", [
28 ["function", "alert"],
29 ["punctuation", "("],
30 ["number", "42"],
31 ["punctuation", ")"],
32 ["punctuation", ";"]
33 ]]
34 ]
35
36 ----------------------------------------------------
37
38 Checks for single-line scripts.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/jade/plain-text_feature.test ('k') | lib/src/prism/tests/languages/jade/tag_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698