blob: b6f3eff77e8213146512b0f293943beebd681276 [file] [log] [blame]
drousso@apple.com0e56fed2017-06-07 23:53:10 +00001Testing that CSS.addRule works for all types of stylesheets.
2
3
4== Running test suite: CSS.addRule
5-- Running test case: CSS.addRule.InNonExistingInspectorStyleSheet
6PASS: Rule selector should be "body"
7PASS: Rule range should be [0:0,0:4]
8PASS: Rule origin should be "inspector"
9
10-- Running test case: CSS.addRule.InExistingInspectorStyleSheet
11PASS: Rule selector should be "div"
12PASS: Rule range should be [1:0,1:3]
13PASS: Rule origin should be "inspector"
14
15-- Running test case: CSS.addRule.ExternalStyleSheet
16PASS: Rule selector should be "div"
17PASS: Rule range should be [2:0,2:3]
18PASS: Rule origin should be "regular"
19
20-- Running test case: CSS.addRule.BadStyleSheetId
21PASS: No target stylesheet found
22