Nice version Re: Minutes of Shadow DOM meeting

2015-04-26 Thread chaals
Attached here is a clean version, which will be archived. Note that there was a lot of sidechat in IRC it is unclear how much of that everyone in the room was aware of. I hope the minutes are a pretty accurate record now, but if people feel otherwise I hope they say so. I'll link this version

Re: [clipboard] Feature detect Clipboard API support?

2015-04-26 Thread James M. Greene
I haven't tested this out to see if it dispatches all the correct events in order to be spec-compliant but Chromium just landed programmatic copy-and-cut [with restrictions that require that there is an active, expanded Selection/Range in the Document]:

Re: [clipboard] Feature detect Clipboard API support?

2015-04-26 Thread Hallvord Reiar Michaelsen Steen
On Sun, Apr 26, 2015 at 4:32 PM, James M. Greene james.m.gre...@gmail.com wrote: They used `Document#queryCommandSupported` and `Document#queryCommandEnabled` for feature detection -- the latter requiring that there is an active, expanded Selection/Range in the Document in order to get a

[Bug 28560] New: [Shadow] investigate if there should be deepRelatedTarget and touch.deepTarget

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28560 Bug ID: 28560 Summary: [Shadow] investigate if there should be deepRelatedTarget and touch.deepTarget Product: WebAppsWG Version: unspecified Hardware: PC

Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

2015-04-26 Thread Hayato Ito
I think Polymer folks will answer the use case of re-distribution. So let me just show a good analogy so that every one can understand intuitively what re-distribution *means*. Let me use a pseudo language and define XComponent's constructor as follows: XComponents::XComponents(Title text, Icon

Re: :host pseudo-class

2015-04-26 Thread Hayato Ito
I think using ::host pseudo element can avoid this kind of *controversial* discussion and we can get benefits from that. +1 for ::host pseudo element. On Sun, Apr 26, 2015 at 4:02 AM Daniel Tan li...@novalistic.com wrote: On 4/26/2015 12:32 AM, Anne van Kesteren wrote: I don't understand why

Re: :host pseudo-class

2015-04-26 Thread Anne van Kesteren
On Mon, Apr 27, 2015 at 5:56 AM, L. David Baron dba...@dbaron.org wrote: For :host it's less interesting, but I thought a major use of :host() and :host-context() is to be able to write selectors that have combinators to the right of :host() or :host-context(). Would they match against

[Bug 28561] New: [Shadow]: rename content to slot

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561 Bug ID: 28561 Summary: [Shadow]: rename content to slot Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal

[Bug 28562] New: [Shadow]: Introduce deep tree terminology

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28562 Bug ID: 28562 Summary: [Shadow]: Introduce deep tree terminology Product: WebAppsWG Version: unspecified Hardware: PC OS: All Status: NEW Severity:

[Bug 28552] [Shadow]: Shadow DOM v1

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28552 Bug 28552 depends on bug 20144, which changed state. Bug 20144 Summary: [Shadow]: Add closed flag to createShadowRoot https://www.w3.org/Bugs/Public/show_bug.cgi?id=20144 What|Removed |Added

[Bug 27325] [Shadow]: Figure out how session history should work for iframes in shadow DOM

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27325 Bug 27325 depends on bug 20144, which changed state. Bug 20144 Summary: [Shadow]: Add closed flag to createShadowRoot https://www.w3.org/Bugs/Public/show_bug.cgi?id=20144 What|Removed |Added

[Bug 28445] [Shadow]: The default value of open/closed flag

2015-04-26 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28445 Hayato Ito hay...@chromium.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: :host pseudo-class

2015-04-26 Thread Anne van Kesteren
On Sat, Apr 25, 2015 at 8:59 PM, Daniel Tan li...@novalistic.com wrote: My guess is it's because a shadow host element is an element, not a pseudo-element. I think a pseudo-element makes more sense as it represents an element/box not accessible within the tree, whereas a pseudo-class represents

Re: :host pseudo-class

2015-04-26 Thread L. David Baron
On Saturday 2015-04-25 09:32 -0700, Anne van Kesteren wrote: I don't understand why :host is a pseudo-class rather than a pseudo-element. My mental model of a pseudo-class is that it allows you to match an element based on a boolean internal slot of that element. :host is not that since e.g. *

Re: :host pseudo-class

2015-04-26 Thread Anne van Kesteren
On Mon, Apr 27, 2015 at 5:37 AM, L. David Baron dba...@dbaron.org wrote: We haven't really used (in the sense of shipping across browsers) pseudo-elements before for things that are both tree-like (i.e., not ::first-letter, ::first-line, or ::selection) and not leaves of the tree. (Gecko

Re: :host pseudo-class

2015-04-26 Thread L. David Baron
On Monday 2015-04-27 05:49 +0200, Anne van Kesteren wrote: On Mon, Apr 27, 2015 at 5:37 AM, L. David Baron dba...@dbaron.org wrote: We haven't really used (in the sense of shipping across browsers) pseudo-elements before for things that are both tree-like (i.e., not ::first-letter,