is printed with media="print" and swapped * to its real media when it has loaded (onload, plus a CSP-safe fallback in form.js / popup.js), * with a ' . "\n"; } /** Keep forms hidden while their deferred stylesheets load (printed with the form styles). */ public static function guard() { if ( ! self::is_frontend() ) { return; } wp_add_inline_style( 'fwren-form', '@keyframes fwren-reveal{to{visibility:visible}}html:has(link[data-fwren-defer][media="print"]) .fwren-wrap{visibility:hidden;animation:fwren-reveal 0s 3s forwards}' ); } }