| OLD | NEW |
| 1 CONSOLE ERROR: Refused to apply inline style because it violates the following C
ontent Security Policy directive: "style-src 'self'". Either the 'unsafe-inline'
keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable
inline execution. | 1 CONSOLE ERROR: Refused to apply inline style because it violates the following C
ontent Security Policy directive: "style-src 'self'". Either the 'unsafe-inline'
keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable
inline execution. |
| 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'". Either the 'unsaf
e-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required t
o enable inline execution. | 3 CONSOLE ERROR: line 77: Refused to apply inline style because it violates the fo
llowing Content Security Policy directive: "style-src 'self'". Either the 'unsaf
e-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required t
o enable inline execution. |
| 4 | 4 |
| 5 PASS successfullyParsed is true | 5 PASS successfullyParsed is true |
| 6 | 6 |
| 7 TEST COMPLETE | 7 TEST COMPLETE |
| 8 This test ensures that styles can be set by object.cloneNode() | 8 This test ensures that styles can be set by object.cloneNode() |
| 9 PASS node1.style.background is "yellow" | 9 PASS node1.style.background is "yellow" |
| 10 PASS node2.style.background is "yellow" | 10 PASS node2.style.background is "yellow" |
| 11 PASS node3.style.background is "blue" | 11 PASS node3.style.background is "blue" |
| 12 PASS node4.style.background is "blue" | 12 PASS node4.style.background is "blue" |
| 13 PASS node1.style.color is "red" | 13 PASS node1.style.color is "red" |
| 14 PASS node2.style.color is "red" | 14 PASS node2.style.color is "red" |
| 15 PASS node3.style.color is "green" | 15 PASS node3.style.color is "green" |
| 16 PASS node4.style.color is "green" | 16 PASS node4.style.color is "green" |
| 17 PASS window.getComputedStyle(node1).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node2).getPropertyCSSValue('background').cssText | 17 PASS window.getComputedStyle(node1).background is window.getComputedStyle(node2)
.background |
| 18 PASS window.getComputedStyle(node3).getPropertyCSSValue('background').cssText is
window.getComputedStyle(node4).getPropertyCSSValue('background').cssText | 18 PASS window.getComputedStyle(node3).background is window.getComputedStyle(node4)
.background |
| 19 PASS window.getComputedStyle(node1).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node2).getPropertyCSSValue('color').cssText | 19 PASS window.getComputedStyle(node1).color is window.getComputedStyle(node2).colo
r |
| 20 PASS window.getComputedStyle(node3).getPropertyCSSValue('color').cssText is wind
ow.getComputedStyle(node4).getPropertyCSSValue('color').cssText | 20 PASS window.getComputedStyle(node3).color is window.getComputedStyle(node4).colo
r |
| 21 PASS ops.style.background is "" | 21 PASS ops.style.background is "" |
| 22 getComputedStyle(clonedOps).getPropertyCSSValue('background').cssText: rgba(0, 0
, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box | 22 getComputedStyle(clonedOps).background: rgba(0, 0, 0, 0) none repeat scroll 0% 0
% / auto padding-box border-box |
| 23 PASS ops.style.color is "red" | 23 PASS ops.style.color is "red" |
| 24 PASS clonedOps.style.background is "" | 24 PASS clonedOps.style.background is "" |
| 25 PASS violetOps.style.background is "rgb(238, 130, 238)" | 25 PASS violetOps.style.background is "rgb(238, 130, 238)" |
| 26 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is window.getComputedStyle(ops).getPropertyCSSValue('background').cssText | 26 PASS window.getComputedStyle(clonedOps).background is window.getComputedStyle(op
s).background |
| 27 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('color').cssText is
window.getComputedStyle(ops).getPropertyCSSValue('color').cssText | 27 PASS window.getComputedStyle(clonedOps).color is window.getComputedStyle(ops).co
lor |
| 28 getComputedStyle(violetOps).getPropertyCSSValue('background').cssText: rgb(238,
130, 238) none repeat scroll 0% 0% / auto padding-box border-box | 28 getComputedStyle(violetOps).background: rgb(238, 130, 238) none repeat scroll 0%
0% / auto padding-box border-box |
| 29 PASS window.getComputedStyle(ops).getPropertyCSSValue('background').cssText is n
ot window.getComputedStyle(violetOps).getPropertyCSSValue('background').cssText | 29 PASS window.getComputedStyle(ops).background is not window.getComputedStyle(viol
etOps).background |
| 30 PASS window.getComputedStyle(clonedOps).getPropertyCSSValue('background').cssTex
t is not window.getComputedStyle(violetOps).getPropertyCSSValue('background').cs
sText | 30 PASS window.getComputedStyle(clonedOps).background is not window.getComputedStyl
e(violetOps).background |
| 31 PASS ops.id is "ops" | 31 PASS ops.id is "ops" |
| 32 PASS ops.id is clonedOps.id | 32 PASS ops.id is clonedOps.id |
| 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 |