[webcomponents] Progress Update

Hello, public-webapps!

There's a lot work happening in the Web Components land, and for those
not following closely, here is a summary. I hope to start sending this
out regularly.

As already mentioned, there's
https://plus.google.com/b/103330502635338602217/ where I post more
granular updates. Other ways to follow the bug traffic are to
subscribe to Mercurial RSS feed
(http://dvcs.w3.org/hg/webcomponents/rss-log), or follow the meta bugs
for each section.

SHADOW DOM (https://www.w3.org/Bugs/Public/showdependencytree.cgi?id=14978)

* The spec is an Editor's Draft, and I've been concentrating on
tightening it up based on implementer feedback. Here are some
interesting changes:
   - every HTML element has an implied shadow DOM subtree:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15300
   - selection property added to ShadowRoot:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16097
   - activeElement property added to ShadowRoot:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15969
   - mutation events are now disallowed in shadow DOM subtrees:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16096
   - a few of encapsulation tweaks:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15968,
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15970
   - insertion points behave as HTMLUnknownElement outside of the
shadow DOM subtrees:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16011

* There's an active implementation effort in WebKit, with the
experimental support for Shadow DOM currently in Chrome Canary:
https://plus.google.com/b/103330502635338602217/103330502635338602217/posts/NpjkdUjHtWe

* Dominic Cooney is actively working on a test suite for the spec.
Nothing to show yet, but it's coming.

HTML TEMPLATES (https://www.w3.org/Bugs/Public/showdependencytree.cgi?id=15476):

* The first draft hasn't been finished yet. My intent is to have
something readable in a couple of weeks.

* Following discussion on parsing
(http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/thread.html#msg595),
I studied WebKit parser to determine the extent of changes. You can
see the patch here: https://bugs.webkit.org/show_bug.cgi?id=78734

CODE SAMPLES (https://www.w3.org/Bugs/Public/showdependencytree.cgi?id=14956):

* A few recipes/examples have been written, aiming to explain possible
applications of the spec:
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/samples/index.html,
https://github.com/dglazkov/Tabs

* There's a Web Components Polyfill, which relies on the experimental
Shadow DOM implementation. It allows trying out the feel of the
declarative syntax and APIs:
https://github.com/dglazkov/Web-Components-Polyfill. The intent is
eventually provide limited emulation of shadow DOM, as well. Han Dijk
has been doing some work on that front.

:DG<

Received on Monday, 5 March 2012 22:46:07 UTC