[webcomponents] [Shadow]: rename <content> to <slot> (bugzilla: 28561) (#92)

Title: [Shadow]: rename <content> to <slot> (bugzilla: 28561)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c0
*Anne* wrote on 2015-04-27 05:30:45 +0000.

Since we successfully managed to avoid bikeshedding at the meeting... I think <slot> makes more sense, especially with an API. "Distributing nodes into slots".

----

comment: 1
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c1
*Justin Fagnani* wrote on 2015-04-27 07:04:07 +0000.

I'm honestly not sure that <slot> makes more sense than <content>. It's not just any nodes that can be redistributed - it must be children of the host, so <content> makes sense here to me. <content> is where all or some of the hosts content goes.

----

comment: 2
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c2
*Travis Leithead [MSFT]* wrote on 2015-04-27 20:00:34 +0000.

Slot does seem pretty generic... like <content>. Can't say I'm behind the new name idea either.

----

comment: 3
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c3
*Hayato Ito* wrote on 2015-04-30 10:42:34 +0000.

This might be bikeshed. :)

Can we defer the decision until the upcoming Imperative APIs proposal?
I hope the situation will be more clear after that.

----

comment: 4
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c4
*Anne* wrote on 2015-04-30 11:31:03 +0000.

Sure, I don't feel strongly about this. Dimitri came up with this and I liked it since it was a somewhat shorter and clearer name.

To reply to Justin, it's the host element's content that is distributed. But it's not distributed into content... Rather, it's content distributed into slots based on (most likely) a Turing complete set of rules.

----

comment: 5
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c5
*Hayato Ito* wrote on 2015-04-30 12:47:59 +0000.

If I were allowed to write the spec from the scratch, I prefer "slot" to "content" because the name of "slot" is more intuitive than insertion points to me.

However, I am not sure this kind of renaming is really worth doing only because we find a better name.

I'd like to defer this, given we have more high priority tasks.

----

comment: 6
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28561#c6
*Anne* wrote on 2015-04-30 12:53:15 +0000.

Okay, let's wait for the imperative API. Because if we change that, we can change this too.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/92

Received on Monday, 25 May 2015 08:51:32 UTC