docs: function detectEdgePseudoVarBug() {
    /*
     * Detect versions of Edge with buggy var() support
     * See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11495448/
     */
    const node = doc.createElement('div');
    node.className = 'ripple-test-edge-var-bug';
    doc.body.appendChild(node);
  
    /*
     * The bug exists if ::before style ends up propagating to the parent element.
     * Additionally, getComputedStyle returns null in iframes with display: "none" in Firefox,
     * but Firefox is known to support CSS custom properties correctly.
     * See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397
     */
    const computedStyle = win.getComputedStyle(node);
    const hasPseudoVarBug =
      computedStyle !== null && computedStyle.borderTopStyle === 'solid';
    node.remove();
    return hasPseudoVarBug;
  }