Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / elements / styles / get-set-stylesheet-text-expected.txt
1 Tests that WebInspector.CSSStyleSheet methods work as expected.
2
3 Inspect Me
4
5
6 Running: testSetText
7 === Original stylesheet text: ===
8 body {
9     font-size: 12px;
10     foo: bar !
11
12     important /* !important property not recognized by WebCore */;
13     height: 100% !important;
14     colorz: "!important";
15     important:!important;
16     color: "badcolor" ! important /* good property with strange value */;
17 }
18
19 @media {
20     /* @media rule with an empty media list */
21 }
22
23 /* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
24
25 body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
26
27
28 Running: testNewElementStyles
29 === Matched rules for h1 after setText() ===
30
31 rule
32 h1: [user-agent]
33 ['display':'block'] @[undefined-undefined] style
34 ['font-size':'2em'] @[undefined-undefined] style
35 ['-webkit-margin-before':'0.67em'] @[undefined-undefined] style
36 ['-webkit-margin-after':'0.67em'] @[undefined-undefined] style
37 ['-webkit-margin-start':'0px'] @[undefined-undefined] style
38 ['-webkit-margin-end':'0px'] @[undefined-undefined] style
39 ['font-weight':'bold'] @[undefined-undefined] style
40
41 rule
42 h1: [regular]
43 ['COLOR':'Red'] @[0:5-0:16] active
44