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

Side by Side Diff: lib/src/prism/tests/languages/css/atrule_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 @import url(foo.css);
2 @media print {}
3 @media (min-width: 640px) and (min-height: 1000px) {}
4 @main-color: red;
5
6 ----------------------------------------------------
7
8 [
9 ["atrule", [
10 ["rule", "@import"],
11 ["url", "url(foo.css)"],
12 ["punctuation", ";"]
13 ]],
14 ["atrule", [
15 ["rule", "@media"],
16 " print"
17 ]],
18 ["punctuation", "{"],
19 ["punctuation", "}"],
20 ["atrule", [
21 ["rule", "@media"],
22 ["punctuation", "("],
23 ["property", "min-width"],
24 ["punctuation", ":"],
25 " 640px",
26 ["punctuation", ")"],
27 " and ",
28 ["punctuation", "("],
29 ["property", "min-height"],
30 ["punctuation", ":"],
31 " 1000px",
32 ["punctuation", ")"]
33 ]],
34 ["punctuation", "{"],
35 ["punctuation", "}"],
36 ["atrule", [
37 ["rule", "@main-color"],
38 ["punctuation", ":"],
39 " red",
40 ["punctuation", ";"]
41 ]]
42 ]
43
44 ----------------------------------------------------
45
46 Checks for at-rules.
47 Also checks for LESS variables.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/css+textile/css_inclusion.test ('k') | lib/src/prism/tests/languages/css/comment_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698