mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 17:15:08 +00:00
16 lines
375 B
HTML
16 lines
375 B
HTML
<!DOCTYPE html><html><head><style>
|
|
* {
|
|
font: 20px 'SerenitySans';
|
|
}
|
|
input {
|
|
width: 200px;
|
|
}
|
|
</style></head><body><input id="foo">
|
|
<script>
|
|
let foo = document.getElementById("foo");
|
|
foo.value = "FAIL";
|
|
document.body.offsetWidth; // Force a layout
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
foo.value = "PASS";
|
|
});
|
|
</script>
|