Skip to content

Instantly share code, notes, and snippets.

@jdanyow
Created March 12, 2017 14:13
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 jdanyow/4774645af2eb998a50730a1a79bbe9b3 to your computer and use it in GitHub Desktop.
Save jdanyow/4774645af2eb998a50730a1a79bbe9b3 to your computer and use it in GitHub Desktop.
Edge Issue
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Edge Issue</title>
<style>
div {
height: 60px;
}
</style>
</head>
<body>
<div>
<h1>test</h1>
This text should disappear after 100ms. Resizing the window will make it disappear.
</div>
<script>
setTimeout(function() {
document.querySelector('h1').nextSibling.textContent = '';
}, 100);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment