Trevixal API
    Preparing search index...

    Function collectDocumentCSS

    • Serialize the matching CSS rules from every stylesheet in the document.

      Rules whose text cannot be read are skipped rather than throwing: a cross-origin stylesheet raises on cssRules access, and one unreadable sheet should not lose the rest.

      Parameters

      Returns string