TPE DOM/Custom elements: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(custom elements page)
 
(roadmap)
Line 20: Line 20:
== Meeting Minutes ==
== Meeting Minutes ==
[https://goo.gl/u0UBGe Sync-up minutes]
[https://goo.gl/u0UBGe Sync-up minutes]
== High-level Roadmap ==
[Stage 1] <We are here!>
# Remove support of SVG-based custom element.
#* Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1274505
# Window interface
#* Separate control preference
#* Move mRegistry from document to window.customElements
#*Bugs: [https://bugzilla.mozilla.org/show_bug.cgi?id=1275833 1275833], [https://bugzilla.mozilla.org/show_bug.cgi?id=1275832 1275832], [https://bugzilla.mozilla.org/show_bug.cgi?id=1275838 1275838],  [https://bugzilla.mozilla.org/show_bug.cgi?id=1275839 1275839]
#HTMLElement constructor
#*Support using ES6 classes
#*Construction stack
#*Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1274159 1274159]
#Document interface
#*createElement, createElementNS
#*Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1276579 1276579]
#window.customElements.define
#*Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1275835 1275835]
[Stage 2]
#custom element reactions stack/queue
#*Callback reaction
#*sProcessingStack
#*EnqueueLifecycleCallback
#*Upgrade reaction
#Lifecycle callbacks
#*connectedCallback
#*disconnectedCallback
#*attributeChangedCallback
#Algorithm of creating an element
#*Spec: https://dom.spec.whatwg.org/#concept-create-element
#*Revise consumers (createElement[NS] and HTML parser accordingly
#**HTML parser: https://dxr.mozilla.org/mozilla-central/source/parser/html/nsHtml5TreeOperation.cpp#335
[Stage 3]
#Mutation algorithms (Shadow dom)
#*Spec:
#**https://dom.spec.whatwg.org/#mutation-algorithms
#**https://w3c.github.io/webcomponents/spec/custom/#dom-mutation-algorithms
#Web-platform-tests
#*https://bugzilla.mozilla.org/show_bug.cgi?id=1234886
[Stage 4]
#CSS :define
#*https://bugzilla.mozilla.org/show_bug.cgi?id=1111633


== Project Dashboard ==
== Project Dashboard ==

Revision as of 15:06, 29 June 2016

Introduction

This project is to enable web authors to define and use new types of DOM elements in a document.

References:


Taipei Main Members

Engineers: Edgar Chen, Jocelyn Liu, John Dai

Meeting Minutes

Sync-up minutes

High-level Roadmap

[Stage 1] <We are here!>

  1. Remove support of SVG-based custom element.
  2. Window interface
  3. HTMLElement constructor
    • Support using ES6 classes
    • Construction stack
    • Bug: 1274159
  4. Document interface
    • createElement, createElementNS
    • Bug: 1276579
  5. window.customElements.define

[Stage 2]

  1. custom element reactions stack/queue
    • Callback reaction
    • sProcessingStack
    • EnqueueLifecycleCallback
    • Upgrade reaction
  2. Lifecycle callbacks
    • connectedCallback
    • disconnectedCallback
    • attributeChangedCallback
  3. Algorithm of creating an element

[Stage 3]

  1. Mutation algorithms (Shadow dom)
  2. Web-platform-tests

[Stage 4]

  1. CSS :define

Project Dashboard

Meta Bugs

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 406 [1] => Not Acceptable ) ) 1


Ship Bugs

Bugzilla query error

Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 406 [1] => Not Acceptable ) ) 1