mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
A spec with no properties drove the app and reported no violations, which is indistinguishable from a spec that judged something and found nothing. Execute now aborts after loading the spec unless the run asks for the opt-out by name.
20 lines
463 B
HTML
20 lines
463 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>no-properties</title>
|
|
</head>
|
|
<body>
|
|
<button id="increment">+</button>
|
|
<div id="counter">0</div>
|
|
<script>
|
|
let value = 0;
|
|
const display = document.getElementById("counter");
|
|
document.getElementById("increment").addEventListener("click", function () {
|
|
value += 1;
|
|
display.textContent = String(value);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|