Adventures in GSoC 219 Jun 2017
During the last week, I finished up the remaining work on implementing the
WebIDL extended attribute and implemented custom elements into element creation.
[HTMLConstructor] was implemented, the implementation for the create and element steps was
The first step was to add a lookup by local name method for the
CustomElementRegistry and use that
to find any custom element definition if one exists when creating an element.
The next step was to add a method to
CustomElementDefinition which constructs a new element from
the definition. When creating a new element, this method is used under the following conditions:
- The definition is for an Autonomous Custom Element.
- The synchronous custom elements flag is set.
If those conditions are unmet and a custom element definition was found, a custom element upgrade reaction is used to setup the custom element. I have not implemented reactions or upgrades yet, so I left this portion unimplemented.
I also added the beginning support for the
is attribute and wired up the synchronous custom
According to the roadmap, the next step is to implement custom element reactions (June 18 - July 1).
This includes the following:
- Validating and storing lifecycle callbacks and observed attributes when a new custom element is defined.
- Implementing the various custom element reaction queues.
- Enqueueing the callback reactions where appropriate.
This does not include implementing upgrade reactions or the
[CEReactions] WebIDL extended