From 007ed3a3f793cde5eada4edfd54f681b0c3f0d1d Mon Sep 17 00:00:00 2001 From: Hayato Ito Date: Fri, 23 Jan 2015 14:28:59 +0900 Subject: [PATCH] [Shadow DOM] [Bug 27876] Make it clear that changes to DOM must not affect the event.path. --- spec/shadow/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/shadow/index.html b/spec/shadow/index.html index 37c4df1e..d28311e8 100644 --- a/spec/shadow/index.html +++ b/spec/shadow/index.html @@ -1361,6 +1361,7 @@

Extensions to Event Interface

On getting, the attribute must create and return a new JavaScript Array object, that must be equivalent of the result of the event path calculation algorithm with the context object and the event target which is not adjusted by the retargeting algorithm as input if the event is being dispatched. + This event path calculation algorithm must be done before capture phase. In other words, changes to the DOM while the event is dispatched must not affect the result. The same thing also applies to the case when the event dispatching is finished. If the event hasn't been dispatched, the attribute must create and return a new empty array.