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

Side by Side Diff: lib/src/prism/tests/languages/markup!+css/css_inclusion.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 <style type="text/css">
2 foo {
3 bar: baz;
4 }
5 </style>
6
7 <foo style="bar:baz;">
8
9 ----------------------------------------------------
10
11 [
12 ["tag", [
13 ["tag", [
14 ["punctuation", "<"],
15 "style"
16 ]],
17 ["attr-name", [
18 "type"
19 ]],
20 ["attr-value", [
21 ["punctuation", "="],
22 ["punctuation", "\""],
23 "text/css",
24 ["punctuation", "\""]
25 ]],
26 ["punctuation", ">"]
27 ]],
28 ["style", [
29 ["selector", "foo"],
30 ["punctuation", "{"],
31 ["property", "bar"],
32 ["punctuation", ":"],
33 " baz",
34 ["punctuation", ";"],
35 ["punctuation", "}"]
36 ]],
37 ["tag", [
38 ["tag", [
39 ["punctuation", "</"],
40 "style"
41 ]],
42 ["punctuation", ">"]
43 ]],
44
45 ["tag", [
46 ["tag", [
47 ["punctuation", "<"],
48 "foo"
49 ]],
50 ["style-attr", [
51 ["attr-name", [
52 ["attr-name", [
53 "style"
54 ]]
55 ]],
56 ["punctuation", "=\""],
57 ["attr-value", [
58 ["property", "bar"],
59 ["punctuation", ":"],
60 "baz",
61 ["punctuation", ";"]
62 ]],
63 ["punctuation", "\""]
64 ]],
65 ["punctuation", ">"]
66 ]]
67 ]
68
69 ----------------------------------------------------
70
71 Checks for CSS usage inside Markup, using <style> tag and style attribute.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698