custom-elements: Fix 'capture' attribute existence check in reactions/HTMLInputElement.html

Do not call 'capture' property getter.
diff --git a/custom-elements/reactions/HTMLInputElement.html b/custom-elements/reactions/HTMLInputElement.html
index dc4b22a..65e33e8 100644
--- a/custom-elements/reactions/HTMLInputElement.html
+++ b/custom-elements/reactions/HTMLInputElement.html
@@ -11,7 +11,7 @@
 <script src="./resources/reactions.js"></script>
 <body>
 <script>
-if (HTMLInputElement.prototype.capture) {
+if ('capture' in HTMLInputElement.prototype) {
     test(() => {
         const element = define_build_in_custom_element(['capture'], HTMLInputElement, 'input');
         const instance = document.createElement('input', { is: element.name });