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

Side by Side Diff: lib/src/prism/tests/languages/markup+javascript+csharp+aspnet/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 runat="server">#foo</script>
2 <script>/foo/</script>
3
4 ----------------------------------------------------
5
6 [
7 ["tag", [
8 ["tag", [
9 ["punctuation", "<"],
10 "script"
11 ]],
12 ["attr-name", [
13 "runat"
14 ]],
15 ["attr-value", [
16 ["punctuation", "="],
17 ["punctuation", "\""],
18 "server",
19 ["punctuation", "\""]
20 ]],
21 ["punctuation", ">"]
22 ]],
23 ["asp script", [
24 ["preprocessor", "#foo"]
25 ]],
26 ["tag", [
27 ["tag", [
28 ["punctuation", "</"],
29 "script"
30 ]],
31 ["punctuation", ">"]
32 ]],
33
34 ["tag", [
35 ["tag", [
36 ["punctuation", "<"],
37 "script"
38 ]],
39 ["punctuation", ">"]
40 ]],
41 ["script", [
42 ["regex", "/foo/"]
43 ]],
44 ["tag", [
45 ["tag", [
46 ["punctuation", "</"],
47 "script"
48 ]],
49 ["punctuation", ">"]
50 ]]
51 ]
52
53 ----------------------------------------------------
54
55 Checks for scripts containing C# code.
56 Also checks that those don't break normal JS scripts.
57 Note: Markup is loaded before Javascript so that scripts are added into grammar.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698