mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-09 18:41:53 +00:00
16 lines
485 B
HTML
16 lines
485 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
var button = document.createElement('button');
|
|
println(button.type);
|
|
button.setAttribute("type", "button");
|
|
println(button.type);
|
|
button.setAttribute("type", "BUTTON");
|
|
println(button.type);
|
|
button.setAttribute("type", "invalid");
|
|
println(button.type);
|
|
button.removeAttribute("type");
|
|
println(button.type);
|
|
});
|
|
</script>
|