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

Side by Side Diff: lib/src/prism/tests/languages/stylus/property-declaration_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 div
2 width 40px
3 color: red
4 background: blue;
5
6 div {
7 background-{foo}: bar;
8 }
9
10 div
11 {foo} bar
12
13 ----------------------------------------------------
14
15 [
16 ["selector", ["div"]],
17 ["property-declaration", [
18 ["property", ["width"]], ["number", "40"], "px"
19 ]],
20 ["property-declaration", [
21 ["property", ["color"]], ["punctuation", ":"], " red"
22 ]],
23 ["property-declaration", [
24 ["property", ["background"]], ["punctuation", ":"], " blue", ["p unctuation", ";"]
25 ]],
26 ["selector", ["div ", ["punctuation", "{"]]],
27 ["property-declaration", [
28 ["property", [
29 "background-",
30 ["interpolation", [
31 ["punctuation", "{"], "foo", ["punctuation", "}" ]
32 ]]
33 ]],
34 ["punctuation", ":"],
35 " bar",
36 ["punctuation", ";"]
37 ]],
38 ["punctuation", "}"],
39 ["selector", ["div"]],
40 ["property-declaration", [
41 ["property", [
42 ["interpolation", [
43 ["punctuation", "{"], "foo", ["punctuation", "}" ]
44 ]]
45 ]],
46 " bar"
47 ]]
48 ]
49
50 ----------------------------------------------------
51
52 Checks for property declarations.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/stylus/operator_feature.test ('k') | lib/src/prism/tests/languages/stylus/selector_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698