(root, str)
| 10 | } |
| 11 | |
| 12 | function addStyleString(root, str) { |
| 13 | const node = document.createElement('style'); |
| 14 | node./*OK*/ textContent = str; |
| 15 | root.appendChild(node); |
| 16 | } |
| 17 | |
| 18 | function measureCLS() { |
| 19 | const supported = PerformanceObserver.supportedEntryTypes; |