This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28561 - [Shadow]: rename <content> to <slot>
Summary: [Shadow]: rename <content> to <slot>
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on: 18429
Blocks: 28552
  Show dependency treegraph
 
Reported: 2015-04-27 05:30 UTC by Anne
Modified: 2015-05-27 03:03 UTC (History)
5 users (show)

See Also:


Attachments

Description Anne 2015-04-27 05:30:45 UTC
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 Justin Fagnani 2015-04-27 07:04:07 UTC
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 Travis Leithead [MSFT] 2015-04-27 20:00:34 UTC
Slot does seem pretty generic... like <content>. Can't say I'm behind the new name idea either.
Comment 3 Hayato Ito 2015-04-30 10:42:34 UTC
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 Anne 2015-04-30 11:31:03 UTC
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 Hayato Ito 2015-04-30 12:47:59 UTC
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 Anne 2015-04-30 12:53:15 UTC
Okay, let's wait for the imperative API. Because if we change that, we can change this too.
Comment 7 Hayato Ito 2015-05-27 03:03:55 UTC
Moved to https://github.com/w3c/webcomponents/issues/92