[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:
   - selection property added to ShadowRoot:
   - activeElement property added to ShadowRoot:
   - mutation events are now disallowed in shadow DOM subtrees:
   - a few of encapsulation tweaks:
   - insertion points behave as HTMLUnknownElement outside of the
shadow DOM subtrees:

* There's an active implementation effort in WebKit, with the
experimental support for Shadow DOM currently in Chrome Canary:

* 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
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:

* 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.


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