Re: [w3c/webcomponents] Events whose composed flag should be true (#513)

> I agree in the case author specified a value but we should just change the default value for EventInit for those special constructors when the value is missing.

Can we do that? I am afraid that it is confusing if EventInit's default value depends on Event's interface.

```
dictionary EventInit {
  boolean bubbles = false;
  boolean cancelable = false;
  boolean composed = false;
};
```

I prefer not changing the default value, per Event interface.
Rather, I would like to think as if UA is doing like the following:

```
let e = new FocusEvent('xxx', { composed: true });
```

Thus, I would like users to specify it explicitly.


---
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/513#issuecomment-224463602

Received on Wednesday, 8 June 2016 01:37:54 UTC