• Eduardo Sanz García's avatar
    Find annotation.css in a more robust way · 1ccf10d4
    Eduardo Sanz García authored
    As indicated by @robertknight `document.styleSheets` is complete only when stylessheets are processed. This can take a while for certain heavy pages.
    
    The alternative approach presented here to find `annotation.css` is warranted to find the url when the code is run.
    
    Closes #2752
    1ccf10d4
shadow-root.js 1.64 KB