mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
ios reads it off SecureTextField, which the companion already sent and nothing read; web reads input[type=password]. Android cannot: the native tree mapper drops the password attribute before the sidecar sees it, so the fact is three-valued and null there rather than a false that would read as "not secure".
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html id="page">
|
|
<head id="page-head">
|
|
<meta id="page-charset" charset="utf-8" />
|
|
<title id="page-title">element state</title>
|
|
</head>
|
|
<body id="page-body">
|
|
<!-- toggle-all starts unchecked in the markup and toggle-done starts
|
|
checked, so a reader of the `checked` ATTRIBUTE reports each one's
|
|
starting value forever and disagrees with both after one click. -->
|
|
<input id="toggle-all" type="checkbox" />
|
|
<input id="toggle-done" type="checkbox" checked />
|
|
<input id="editing" type="text" value="buy milk" />
|
|
<input id="secret" type="password" />
|
|
<button id="save">save</button>
|
|
<button id="cancel" disabled>cancel</button>
|
|
<select id="filter">
|
|
<option id="filter-all">all</option>
|
|
<option id="filter-active" selected>active</option>
|
|
</select>
|
|
<script id="page-script">
|
|
window.__keys__ = [];
|
|
document.addEventListener('keydown', function (event) {
|
|
window.__keys__.push(event.key);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|