| <!DOCTYPE html> |
| <meta name="color-scheme" content="light dark"> |
| |
| <body> |
| <input id="text_input" value="Test"></input> |
| <script> |
| var input = document.getElementById('text_input'); |
| if (window.internals) |
| internals.setAutofilled(input, true); |
| </script> |
| |
| <textarea id="text_area_input" rows="4" cols="50">Test</textarea> |
| <script> |
| var textArea = document.getElementById('text_area_input'); |
| if (window.internals) |
| internals.setAutofilled(textArea, true); |
| </script> |
| |
| <select id="select_input"> |
| <option value="test">Test</option> |
| </select> |
| <script> |
| var select = document.getElementById('select_input'); |
| if (window.internals) |
| internals.setAutofilled(select, true); |
| </script> |
| </body> |