aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-10-01 15:16:58 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-10-01 15:16:58 +0900
commitc13cf0ec85ccc6aec636ccd8b9f791559c1cd2f6 (patch)
treef962c38182d4f496c9a97c80d08504fde0b3aac2 /test
parent7f7045dc58b06c9ec1375b13beb94fc9c03ebfa9 (diff)
Satisfy no-implicit-button-type lint
Diffstat (limited to 'test')
-rw-r--r--test/data/html/test-document1.html2
-rw-r--r--test/data/html/test-dom-text-scanner.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/data/html/test-document1.html b/test/data/html/test-document1.html
index 78d862c4..04e930da 100644
--- a/test/data/html/test-document1.html
+++ b/test/data/html/test-document1.html
@@ -138,7 +138,7 @@
data-sentence-scan-extent="100"
data-sentence="よみちゃん"
>
- <button style="width: 100%; box-sizing: border-box; font-family: inherit; font-size: inherit; border: 1px solid #d8d8d8; background-color: #f0f0f0; padding: 0.2em;">よみちゃん</button>
+ <button type="button" style="width: 100%; box-sizing: border-box; font-family: inherit; font-size: inherit; border: 1px solid #d8d8d8; background-color: #f0f0f0; padding: 0.2em;">よみちゃん</button>
</div>
<div
diff --git a/test/data/html/test-dom-text-scanner.html b/test/data/html/test-dom-text-scanner.html
index 9a9ea95d..c7ae2a37 100644
--- a/test/data/html/test-dom-text-scanner.html
+++ b/test/data/html/test-dom-text-scanner.html
@@ -290,7 +290,7 @@
}'
>
<y-description>Skip &lt;button&gt; content.</y-description>
-<div>小ぢん<button>content</button>まり1</div>
+<div>小ぢん<button type="button">content</button>まり1</div>
</y-test>
<y-test