Created
March 12, 2017 14:13
-
-
Save jdanyow/4774645af2eb998a50730a1a79bbe9b3 to your computer and use it in GitHub Desktop.
Edge Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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