e00487aa1596ba45ee823c8eee965727dcb27e6b
- Delete all CSS rules via sheet.deleteRule(0) loop (not just clear textContent) - Remove all <style> and <link rel=stylesheet> elements from clone - Convert ::before/::after pseudo-elements into real DOM elements with inline styles - All computed styles inlined on every element in the clone - This ensures html2canvas never encounters color-mix() in any stylesheet
Languages
HTML
85.1%
JavaScript
10%
CSS
4.9%