1 Tests that WebInspector.CSSStyleSheet methods work as expected.
7 === Original stylesheet text: ===
12 important /* !important property not recognized by WebCore */;
13 height: 100% !important;
16 color: "badcolor" ! important /* good property with strange value */;
20 /* @media rule with an empty media list */
23 /* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
25 body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
28 Running: testNewElementStyles
29 === Matched rules for h1 after setText() ===
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
43 ['COLOR':'Red'] @[0:5-0:16] active