~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/stylus/property-declaration_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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", ["punctuation", ";"]
 
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.
 
 
b'\\ No newline at end of file'