1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 10:27:35 +00:00

Base: Move all the HTML test content into /res/html/misc

This commit is contained in:
Andreas Kling 2020-06-17 17:28:18 +02:00
parent 4720635aab
commit de12cf6821
58 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id=clicky style="background-color: red; color: white; border: 1px solid black;">Click me</div>
<div id="foo">This has <b>some HTML</b> inside it!</div>
<script type="text/javascript">
function hax() {
var foo = document.getElementById("foo");
console.log("trying");
foo.innerHTML = 'But now the HTML has changed!';
}
document.getElementById("clicky").addEventListener("mousedown", hax);
</script>
</body>
</html>