diff --git a/Tests/LibWeb/Text/expected/HTML/button-attributes.txt b/Tests/LibWeb/Text/expected/HTML/button-attributes.txt
new file mode 100644
index 0000000000..05c4bd8506
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/HTML/button-attributes.txt
@@ -0,0 +1,3 @@
+submit
+button
+submit
diff --git a/Tests/LibWeb/Text/input/HTML/button-attributes.html b/Tests/LibWeb/Text/input/HTML/button-attributes.html
new file mode 100644
index 0000000000..9ab983a697
--- /dev/null
+++ b/Tests/LibWeb/Text/input/HTML/button-attributes.html
@@ -0,0 +1,11 @@
+
+