Re: Shadow DOM: state of the distribution API

2015-05-17 Thread Hayato Ito
On Sat, May 16, 2015 at 12:41 AM Olli Pettay o...@pettay.fi wrote:

 On 05/15/2015 06:39 PM, Wilson Page wrote:
  Wouldn't it likely need to be called just before layout?
 Probably yes, but it is not defined when that actually happens.



Yeah, the exact timing is not defined. That's intentional. The
responsibility of UA is just to make sure the distribution is updated
whenever UA has to return any result which depends on the distribution. UA
can choose any evaluation strategy as long as it's not observable from the
outside.

Looks the spec needs more good wording for this.
Any good ideas for wording?



   All the issues Dimitri highlighted are symptoms of layout running before
 distribution.
 
  On Fri, May 15, 2015 at 3:46 PM, Olli Pettay o...@pettay.fi mailto:
 o...@pettay.fi wrote:
 
  On 05/15/2015 05:37 PM, Wilson Page wrote:
 
  Would it be possible to leave the calling of the shadowRoot's
 distribute() function to the engine? This way the engine can be in full
 control over
  *when* distribution happens.
 
 
 
  We would need to define when the engine calls it, otherwise web
 pages start to rely on the behavior of whatever engine the developers of the
  particular page mostly use.
 
 
 
  -Olli
 
 
 
  On Wed, May 13, 2015 at 5:46 PM, Dimitri Glazkov 
 dglaz...@google.com mailto:dglaz...@google.com mailto:
 dglaz...@google.com
  mailto:dglaz...@google.com wrote:
 
   I did a quick experiment around distribution timing:
 
 https://github.com/w3c/webcomponents/blob/gh-pages/proposals/Distribution-Timing-Experiment.md.
 Hope you find it helpful.
 
   :DG
 
 
 
 




[Bug 28552] [Shadow]: Shadow DOM v1

2015-05-17 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28552
Bug 28552 depends on bug 28562, which changed state.

Bug 28562 Summary: [Shadow]: Introduce deep tree terminology
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28562

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.



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

2015-05-17 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28562

Hayato Ito hay...@chromium.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Hayato Ito hay...@chromium.org ---
Thanks for some comments on github.
Let me close this bug. I don't think we need a deepTree terminology.

-- 
You are receiving this mail because:
You are on the CC list for the bug.