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 24288 - [Shadow]: Revert <shadow> element as a function call feature.
Summary: [Shadow]: Revert <shadow> element as a function call feature.
Status: RESOLVED FIXED
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:
Blocks: 22715
  Show dependency treegraph
 
Reported: 2014-01-14 07:01 UTC by Hayato Ito
Modified: 2014-05-29 07:16 UTC (History)
4 users (show)

See Also:


Attachments

Description Hayato Ito 2014-01-14 07:01:30 UTC
Regarding with https://www.w3.org/Bugs/Public/show_bug.cgi?id=22344,
it turned out that there is a kind of a technical difficulty to implement this feature correctly [1].

It might be better to revert it to the old behavior until we find a reasonable  idea of the implementation.

We will also remove fallback ability of <shadow> element. Child elements of <shadow> elements will be simply ignored. We preserve the usage of child elements of the <shadow> elements for the future, such as enabling new behavior later again.

[1]: https://codereview.chromium.org/77863002/
Comment 2 William Chen 2014-04-18 19:04:23 UTC
Reverting the (In reply to Hayato Ito from comment #0)
> It might be better to revert it to the old behavior until we find a
> reasonable  idea of the implementation.

The behavior of the fix is not forward compatible with the behavior in bug 22344.

> We preserve the usage of child
> elements of the <shadow> elements for the future, such as enabling new
> behavior later again.

So we wouldn't be able to do this. ^

If the intention is strip functionality until you figure out a way to reasonably implement the <shadow> as a function call, then you'll also have to neuter <content> insertion points in older shadows.

Which means bringing back:

"Let POOL be an empty ordered list."

in https://github.com/w3c/webcomponents/commit/61745e0b40c8d609ad1070e7babc7915fca637ea
Comment 3 Ryosuke Niwa 2014-04-19 06:34:35 UTC
We just posted a relevant feedback in public-webapps:
http://lists.w3.org/Archives/Public/public-webapps/2014AprJun/0151.html.
Comment 4 Hayato Ito 2014-05-29 07:16:44 UTC
Looks outdated. Let me close this issue.

If you feel to re-open this, please file a new issue.