OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
3 <title>Node.textContent</title> | 3 <title>Node.textContent</title> |
4 <script src="../../../../resources/testharness.js"></script> | 4 <script src="../../../../resources/testharness.js"></script> |
5 <script src="../../../../resources/testharnessreport.js"></script> | 5 <script src="../../../../resources/testharnessreport.js"></script> |
6 <div id="log"></div> | 6 <div id="log"></div> |
7 <script> | 7 <script> |
8 // XXX mutation observers? | 8 // XXX mutation observers? |
9 // XXX Range gravitation? | 9 // XXX Range gravitation? |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 256 } |
257 doctype.textContent = "b" | 257 doctype.textContent = "b" |
258 assert_equals(doctype.textContent, null) | 258 assert_equals(doctype.textContent, null) |
259 assert_equals(doctype.name, props.name, "name should not change") | 259 assert_equals(doctype.name, props.name, "name should not change") |
260 assert_equals(doctype.publicId, props.publicId, "publicId should not change"
) | 260 assert_equals(doctype.publicId, props.publicId, "publicId should not change"
) |
261 assert_equals(doctype.systemId, props.systemId, "systemId should not change"
) | 261 assert_equals(doctype.systemId, props.systemId, "systemId should not change"
) |
262 }, "For DocumentType created by " + creator + ", setting textContent should do
nothing") | 262 }, "For DocumentType created by " + creator + ", setting textContent should do
nothing") |
263 }) | 263 }) |
264 | 264 |
265 </script> | 265 </script> |
OLD | NEW |