Setting a text node's textContent to empty string isn't immediately rendered

Confirmed Issue #11244341 • Assigned to Peter S.


Jeremy D.
Mar 12, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Minimal Reproduction: Run / Gist

Works in IE 11, Chrome, Firefox. Other browsers not tested.

<!doctype html>
<html lang="en">
  <meta charset="utf-8">
  <title>Edge Issue</title>
    div {
      height: 60px;
    This text should disappear after 100ms. Resizing the window will make it disappear.
    setTimeout(function() {
      document.querySelector('h1').nextSibling.textContent = '';
    }, 100);


0 attachments

    Comments and activity

    • forgot to mention: removing the style fixes the issue

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Rick J.”

      Changed Assigned To from “Rick J.” to “Christian F.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Assigned To from “Christian F.” to “Daniel L.”

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Peter S.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in