- From: Jarek Foksa <notifications@github.com>
- Date: Thu, 24 Mar 2016 11:42:42 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 24 March 2016 18:43:09 UTC
In case every standard elements gets its own constructor as discussed in https://github.com/whatwg/html/issues/896, wouldn't it make more sense to have a registry that includes both standard and custom elements? Sample use cases:
```js
const SUPPORTS_PICTURE = document.elements.has("picture");
const SUPPORTS_SMIL = document.elements.has("animation");
const SUPPORTS_MATHML = document.elements.has("mathml");
const SUPPORTS_MESH_GRADIENTS = document.elements.has("mesh");
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/445#issuecomment-200964634
Received on Thursday, 24 March 2016 18:43:09 UTC