         // If we switch to flexbox, automatically reposition the children
          if (name === 'display' && value === 'flex') {
            let children = this.activeElement.children;
            for (let i = 0; i < children.length; i++) {
              children[i].style.position = 'relative';
              children[i].style.top = children[i].style.left = 'auto';
            }
          }
          previousValue = this.activeElement.style[name];
          this.activeElement.style[name] = value;
        }