Skip to content

Instantly share code, notes, and snippets.

@jugglinmike
Last active January 16, 2017 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jugglinmike/e5f13288f675836e2cca8aec8d2a2424 to your computer and use it in GitHub Desktop.
Save jugglinmike/e5f13288f675836e2cca8aec8d2a2424 to your computer and use it in GitHub Desktop.
`<details>` element interaction (with small documents)

<details> element interaction (with small documents)

Chromium seems to disregard synchronously-triggered click events on the <summary> element during initial page load.

<!DOCTYPE html>
<details>
<summary id="d">Summary</summary>
Content
</details>
<script>document.getElementById('d').click();</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment