Sam Thorogood

Results 36 comments of Sam Thorogood

From Node 5.1 (~2015), this polyfill uses `Buffer.toString` to decode the buffer, but only allows UTF-8. And from 11.0 (~2018) it's not needed at all as Node supports `TextEncoder` and...

Thanks, glad you like it. my 2c: `data-duration` sounds painful if a user has to set it on every element, but I'm loathe to have it as a global on...

This bug is nearly four years old. I don't have a practical way of testing on IE10. If this is important to anyone, please send us a PR :)

Working out whether the _caller_ is in strict mode is never going to happen. I'd probably add an option to the polyfill constructor to run in strict mode, to throw...

FWIW, @robdodson and others' polyfill is more strict (slower, and changes tabindex on your elements, which may not be what you want), and probably better for a demo for standardization....

Can you try out the `inert-polyfill.js` from the [shadow](https://github.com/GoogleChrome/inert-polyfill/tree/shadow) branch and let me know if it works for you? The only issue I can see so far is that the...

Yes, that's right, I haven't fixed the `pointer-events` CSS as I mentioned in the first comment. I'll look at the lazy-add solution soon (since `::shadow` and `/deep/` are deprecated in...

This is in master now (I think; I suspect it might struggle with shadow in shadow, but I'll test that soon), and we also don't lazy-load the CSS into shadow...

Friendly ping. @hegemonic

@hegemonic (found while building #180)