OLD | NEW |
| (Empty) |
1 Basic test for the <style scoped> attribute. | |
2 | |
3 --- Initial --- | |
4 PASS global1.getAttribute('scoped') is null | |
5 PASS global1.scoped is false | |
6 PASS global2.getAttribute('scoped') is null | |
7 PASS global2.scoped is false | |
8 PASS testBooleanAttribute(scoped1, 'scoped') is true | |
9 PASS scoped1.scoped is true | |
10 PASS testBooleanAttribute(scoped2, 'scoped') is true | |
11 PASS scoped2.scoped is true | |
12 PASS testBooleanAttribute(scoped3, 'scoped') is true | |
13 PASS scoped3.scoped is true | |
14 --- After insertion into tree --- | |
15 PASS global1.getAttribute('scoped') is null | |
16 PASS global1.scoped is false | |
17 PASS global2.getAttribute('scoped') is null | |
18 PASS global2.scoped is false | |
19 PASS testBooleanAttribute(scoped1, 'scoped') is true | |
20 PASS scoped1.scoped is true | |
21 PASS testBooleanAttribute(scoped2, 'scoped') is true | |
22 PASS scoped2.scoped is true | |
23 PASS testBooleanAttribute(scoped3, 'scoped') is true | |
24 PASS scoped3.scoped is true | |
25 --- Inverting 'scoped' attribute while in tree --- | |
26 PASS testBooleanAttribute(global1, 'scoped') is true | |
27 PASS global1.scoped is true | |
28 PASS testBooleanAttribute(global2, 'scoped') is true | |
29 PASS global2.scoped is true | |
30 PASS scoped1.getAttribute('scoped') is null | |
31 PASS scoped1.scoped is false | |
32 PASS scoped2.getAttribute('scoped') is null | |
33 PASS scoped2.scoped is false | |
34 PASS scoped3.getAttribute('scoped') is null | |
35 PASS scoped3.scoped is false | |
36 --- After removal from tree (attribute is still inverted) --- | |
37 PASS testBooleanAttribute(global1, 'scoped') is true | |
38 PASS global1.scoped is true | |
39 PASS testBooleanAttribute(global2, 'scoped') is true | |
40 PASS global2.scoped is true | |
41 PASS scoped1.getAttribute('scoped') is null | |
42 PASS scoped1.scoped is false | |
43 PASS scoped2.getAttribute('scoped') is null | |
44 PASS scoped2.scoped is false | |
45 PASS scoped3.getAttribute('scoped') is null | |
46 PASS scoped3.scoped is false | |
47 --- Inverting 'scoped' attribute again, while outside tree --- | |
48 PASS global1.getAttribute('scoped') is null | |
49 PASS global1.scoped is false | |
50 PASS global2.getAttribute('scoped') is null | |
51 PASS global2.scoped is false | |
52 PASS testBooleanAttribute(scoped1, 'scoped') is true | |
53 PASS scoped1.scoped is true | |
54 PASS testBooleanAttribute(scoped2, 'scoped') is true | |
55 PASS scoped2.scoped is true | |
56 PASS testBooleanAttribute(scoped3, 'scoped') is true | |
57 PASS scoped3.scoped is true | |
58 --- DONE --- | |
59 PASS successfullyParsed is true | |
60 | |
61 TEST COMPLETE | |
62 | |
OLD | NEW |