Put the stylesheet into doc once. Safe to call per widget: the second
call leaves a populated sheet untouched. An empty server-rendered sheet
is filled in place, preserving its nonce. extra is appended to the
shell's rules when filling the sheet; the dialog modules hand theirs in
here, so the page still carries one sheet. nonce authorizes the style
element under CSP; the host controls its style-attribute policy separately.
Put the stylesheet into
doconce. Safe to call per widget: the second call leaves a populated sheet untouched. An empty server-rendered sheet is filled in place, preserving its nonce.extrais appended to the shell's rules when filling the sheet; the dialog modules hand theirs in here, so the page still carries one sheet.nonceauthorizes the style element under CSP; the host controls its style-attribute policy separately.