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 27994 - [Shadow]: Distribution needs to not be observable
Summary: [Shadow]: Distribution needs to not be observable
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-02-10 15:35 UTC by Anne
Modified: 2015-05-27 03:06 UTC (History)
3 users (show)

See Also:


Attachments

Description Anne 2015-02-10 15:35:35 UTC
"If any condition which affects the distribution result changes, the distribution result must be updated before any use of the distribution result."

It seems both layout and events make use of the distribution result. That would be worth mentioning I think to make it clear what the observable bits are.

However, if events make use of them, wouldn't we be able to work out when distribution happens by firing synthetic events?

And how does this work for ranges that can reach into the shadow DOM? Wouldn't we get problems there too with how deterministic things are?
Comment 1 Dimitri Glazkov 2015-02-10 17:00:18 UTC
There's a bit more discusson here: https://soundcloud.com/dglazkov/polymer-master
Comment 2 Dimitri Glazkov 2015-02-10 17:12:30 UTC
(In reply to Dimitri Glazkov from comment #1)
> There's a bit more discusson here:
> https://soundcloud.com/dglazkov/polymer-master

Doh. https://gist.github.com/dglazkov/ce96f673b0b2ce7b8c55
Comment 3 Anne 2015-04-23 21:09:52 UTC
See also bug 28443 which discusses this very same issue.
Comment 4 Anne 2015-04-27 05:45:56 UTC
This might be moot if we get an API.
Comment 5 Hayato Ito 2015-05-27 03:06:14 UTC
Moved to https://github.com/w3c/webcomponents/issues/87