(doc)
| 2956 | } |
| 2957 | |
| 2958 | function insertHighlightStylesheet(doc) { |
| 2959 | if (!doc.querySelector("." + HIGHLIGHTS_STYLESHEET_CLASS)) { |
| 2960 | const styleheetHighlights = getStyleElement(HIGHLIGHTS_WEB_STYLESHEET); |
| 2961 | styleheetHighlights.classList.add(HIGHLIGHTS_STYLESHEET_CLASS); |
| 2962 | doc.documentElement.appendChild(styleheetHighlights); |
| 2963 | } |
| 2964 | } |
| 2965 | |
| 2966 | function getContent(compressHTML, updatedResources) { |
| 2967 | unhighlightCutElement(); |
no test coverage detected