From d9dd8b1280ea6cd0f74dcbffff6b633fa615762d Mon Sep 17 00:00:00 2001 From: Hixie Date: Fri, 13 Feb 2015 10:57:14 -0800 Subject: [PATCH] Specs: Drop @nonnull from dom.md, drop ChildNode from dom.md, drop TreeRoot from dom.md, other minor idomatic changes Review URL: https://codereview.chromium.org/927613002 --- specs/{dom.md => elements.md} | 150 +++++++++++++++++----------------- specs/events.md | 3 + 2 files changed, 80 insertions(+), 73 deletions(-) rename specs/{dom.md => elements.md} (53%) diff --git a/specs/dom.md b/specs/elements.md similarity index 53% rename from specs/dom.md rename to specs/elements.md index 7262fcf2d1d..02558c97df2 100644 --- a/specs/dom.md +++ b/specs/elements.md @@ -8,44 +8,49 @@ SKY MODULE ``` diff --git a/specs/events.md b/specs/events.md index 54d869603b6..a38680f4bf7 100644 --- a/specs/events.md +++ b/specs/events.md @@ -131,6 +131,9 @@ abstract class Event { // TODO(ianh): abstract API for doing things at shadow tree boundaries // TODO(ianh): do events get blocked at scope boundaries, e.g. focus events when both sides are in the scope? // TODO(ianh): do events get retargetted, e.g. focus when leaving a custom element? + // e.g. sent from inside a shadow tree, when exiting the shadow tree, focus event should: + // - disappear if we're moving from one to another element + // - be targetted if it's going to another node in a different scope } class EventTarget {