we (web engine): Experimental web browser project to understand the limits of Claude
at texture-validation 31 lines 881 B view raw
1<!DOCTYPE html> 2<meta charset="utf-8"> 3<title>Document properties</title> 4<script src="/resources/testharness.js"></script> 5<script src="/resources/testharnessreport.js"></script> 6<div id="log"></div> 7<script> 8test(function() { 9 assert_not_equals(document.documentElement, null); 10}, "document.documentElement is not null"); 11 12test(function() { 13 assert_equals(document.documentElement.tagName, "HTML"); 14}, "document.documentElement is the html element"); 15 16test(function() { 17 assert_not_equals(document.body, null); 18}, "document.body is not null"); 19 20test(function() { 21 assert_equals(document.body.tagName, "BODY"); 22}, "document.body is the body element"); 23 24test(function() { 25 assert_not_equals(document.head, null); 26}, "document.head is not null"); 27 28test(function() { 29 assert_equals(document.head.tagName, "HEAD"); 30}, "document.head is the head element"); 31</script>