- From: Jarek Foksa <notifications@github.com>
- Date: Thu, 24 Mar 2016 11:59:25 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Thursday, 24 March 2016 19:00:13 UTC
@domenic This looks rather inconsistent to me:
```js
if (window.HTMLPictureElement) {
let picture = document.createElement("picture");
}
```
.... compared to:
```js
if (document.elements.has("picture")) {
let picture = document.elements.create("picture");
}
```
... or:
```js
if (window.HTMLPictureElement) {
let picture = new HTMLPictureElement();
}
````
---
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-200971164
Received on Thursday, 24 March 2016 19:00:13 UTC