Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

I have a clarifying question. It's often stated that since the current timing is undefined, this will lead to interoperability problems.


Can someone point me to the part of the spec that is problematic? That is, where is the line that says "UAs may run this algorithm at any time"? I am not sure what to Ctrl+F for.


Secondly, could someone produce a code snippet that would cause such interop problems, given the current spec?


Finally, assuming we have such an example, would there be a way to tighten the spec language such that we don't need to specify e.g. when style recalculation happens, but instead specify constraints? Like "offsetTop must always reflect the redistributions" or something.



________________________________
From: Ryosuke Niwa <rniwa@apple.com>
Sent: Tuesday, April 28, 2015 16:52
To: Justin Fagnani; Anne van Kesteren; WebApps WG; Erik Bryn; Dimitri Glazkov; Edward O'Connor; Steve Orvell
Subject: Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

I've updated the gist to reflect the discussion so far:
https://gist.github.com/rniwa/2f14588926e1a11c65d3

Please leave a comment if I missed anything.

- R. Niwa

Received on Thursday, 30 April 2015 12:30:34 UTC