~cytrogen/gstack

ref: cd66fc2f890982351e3178925be563681d0ab2c5 gstack/browse/test/fixtures/cursor-interactive.html -rw-r--r-- 883 bytes
cd66fc2f — Garry Tan fix: 6 critical fixes + community PR guardrails (v0.13.2.0) (#602) 13 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Test Page - Cursor Interactive</title>
  <style>
    .clickable-div { cursor: pointer; padding: 10px; border: 1px solid #ccc; }
    .hover-card { cursor: pointer; padding: 20px; background: #f0f0f0; }
  </style>
</head>
<body>
  <h1>Cursor Interactive Test</h1>
  <!-- These are NOT standard interactive elements but have cursor:pointer -->
  <div class="clickable-div" id="click-div" onclick="this.textContent = 'clicked!'">Click me (div)</div>
  <span class="hover-card" id="hover-span">Hover card (span)</span>
  <div tabindex="0" id="focusable-div">Focusable div</div>
  <div onclick="alert('hi')" id="onclick-div">Onclick div</div>
  <!-- Standard interactive element (should NOT appear in -C output) -->
  <button id="normal-btn">Normal Button</button>
  <a href="/test">Normal Link</a>
</body>
</html>