OLD | NEW |
1 CONSOLE ERROR: Refused to apply inline style because it violates the following C
ontent Security Policy directive: "style-src 'self'". | 1 CONSOLE ERROR: Refused to apply inline style because it violates the following C
ontent Security Policy directive: "style-src 'self'". |
2 | 2 |
3 CONSOLE ERROR: line 77: Refused to apply inline style because it violates the fo
llowing Content Security Policy directive: "style-src 'self'". | 3 CONSOLE ERROR: line 77: Refused to apply inline style because it violates the fo
llowing Content Security Policy directive: "style-src 'self'". |
4 | 4 |
| 5 PASS successfullyParsed is true |
| 6 |
| 7 TEST COMPLETE |
5 This test ensures that styles can be set by object.cloneNode() | 8 This test ensures that styles can be set by object.cloneNode() |
6 PASS node1.style.background is "yellow" | 9 PASS node1.style.background is "yellow" |
7 PASS node2.style.background is "yellow" | 10 PASS node2.style.background is "yellow" |
8 PASS node3.style.background is "blue" | 11 PASS node3.style.background is "blue" |
9 PASS node4.style.background is "blue" | 12 PASS node4.style.background is "blue" |
10 PASS node1.style.color is "red" | 13 PASS node1.style.color is "red" |
11 PASS node2.style.color is "red" | 14 PASS node2.style.color is "red" |
12 PASS node3.style.color is "green" | 15 PASS node3.style.color is "green" |
13 PASS node4.style.color is "green" | 16 PASS node4.style.color is "green" |
14 PASS window.getComputedStyle(node1).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node2).getPropertyCSSValue('background').cssText | 17 PASS window.getComputedStyle(node1).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node2).getPropertyCSSValue('background').cssText |
15 PASS window.getComputedStyle(node3).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node4).getPropertyCSSValue('background').cssText | 18 PASS window.getComputedStyle(node3).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node4).getPropertyCSSValue('background').cssText |
16 PASS window.getComputedStyle(node1).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node2).getPropertyCSSValue('color').cssText | 19 PASS window.getComputedStyle(node1).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node2).getPropertyCSSValue('color').cssText |
17 PASS window.getComputedStyle(node3).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node4).getPropertyCSSValue('color').cssText | 20 PASS window.getComputedStyle(node3).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node4).getPropertyCSSValue('color').cssText |
18 PASS ops.style.background is "" | 21 PASS ops.style.background is "" |
19 getComputedStyle(clonedOps).getPropertyCSSValue('background').cssText: rgba(0, 0
, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box | 22 getComputedStyle(clonedOps).getPropertyCSSValue('background').cssText: rgba(0, 0
, 0, 0) none repeat scroll left 0% top 0% / auto padding-box border-box |
20 PASS ops.style.color is "red" | 23 PASS ops.style.color is "red" |
21 PASS clonedOps.style.background is "" | 24 PASS clonedOps.style.background is "" |
22 PASS violetOps.style.background is "rgb(238, 130, 238)" | 25 PASS violetOps.style.background is "rgb(238, 130, 238)" |
23 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is window.getComputedStyle(ops).getPropertyCSSValue('background').cssText | 26 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is window.getComputedStyle(ops).getPropertyCSSValue('background').cssText |
24 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('color').cssText is
window.getComputedStyle(ops).getPropertyCSSValue('color').cssText | 27 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('color').cssText is
window.getComputedStyle(ops).getPropertyCSSValue('color').cssText |
25 getComputedStyle(violetOps).getPropertyCSSValue('background').cssText: rgb(238,
130, 238) none repeat scroll left 0% top 0% / auto padding-box border-box | 28 getComputedStyle(violetOps).getPropertyCSSValue('background').cssText: rgb(238,
130, 238) none repeat scroll left 0% top 0% / auto padding-box border-box |
26 PASS window.getComputedStyle(ops).getPropertyCSSValue('background').cssText is n
ot window.getComputedStyle(violetOps).getPropertyCSSValue('background').cssText | 29 PASS window.getComputedStyle(ops).getPropertyCSSValue('background').cssText is n
ot window.getComputedStyle(violetOps).getPropertyCSSValue('background').cssText |
27 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is not window.getComputedStyle(violetOps).getPropertyCSSValue('background').cs
sText | 30 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is not window.getComputedStyle(violetOps).getPropertyCSSValue('background').cs
sText |
28 PASS ops.id is "ops" | 31 PASS ops.id is "ops" |
29 PASS ops.id is clonedOps.id | 32 PASS ops.id is clonedOps.id |
30 PASS successfullyParsed is true | |
31 | |
32 TEST COMPLETE | |
33 This is a div (nodes) | 33 This is a div (nodes) |
34 This is a div. (node 1 or 2) | 34 This is a div. (node 1 or 2) |
35 This is a div. (node 1 or 2) | 35 This is a div. (node 1 or 2) |
36 This is a div. (node 3 or 4) | 36 This is a div. (node 3 or 4) |
37 Node #4 | 37 Node #4 |
38 Yet another div. | 38 Yet another div. |
39 Yet another div. | 39 Yet another div. |
40 Yet another div. | 40 Yet another div. |
OLD | NEW |