Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
123456789101112131415161718192021<!DOCTYPE html><meta charset="utf-8"><title>Element.innerHTML</title><script src="/resources/testharness.js"></script><script src="/resources/testharnessreport.js"></script><div id="log"></div><script>test(function() { var el = document.createElement("div"); el.textContent = "plain text"; assert_equals(el.textContent, "plain text");}, "textContent round-trip on new element");
test(function() { var el = document.createElement("div"); el.textContent = "first"; el.textContent = "second"; assert_equals(el.textContent, "second");}, "textContent can be overwritten");</script>