TPE DOM/Custom elements: Difference between revisions
(→Project Dashboard: status update - Stage 3 done; add performance issues) |
(→Roadmap: backlog update) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
== Roadmap == | == Roadmap == | ||
[Stage 1] | === Summary === | ||
We are now at Stage 4, working on performance work, especially on the [https://bugzilla.mozilla.org/show_bug.cgi?id=1392974 critical blocker] from enabling this feature on Nightly. | |||
* Estimated nightly version: 59 | |||
* Firefox dev-platform [https://groups.google.com/d/msg/mozilla.dev.platform/BI3I0U7TDw0/6-W39tXpBAAJ intent-to-implement] | |||
=== Details === | |||
[Stage 1] (completed) | |||
# Remove support of SVG-based custom element. | # Remove support of SVG-based custom element. | ||
#* Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1274505 1274505] | #* Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1274505 1274505] | ||
| Line 38: | Line 44: | ||
#window.customElements.define | #window.customElements.define | ||
#*Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1275835 1275835] | #*Bug: [https://bugzilla.mozilla.org/show_bug.cgi?id=1275835 1275835] | ||
[Stage 2] (completed) | |||
#custom element upgrade reactions stack/queue | #custom element upgrade reactions stack/queue | ||
#*Upgrade reaction | #*Upgrade reaction | ||
| Line 45: | Line 51: | ||
#*Revise consumers (createElement[NS] and HTML parser accordingly | #*Revise consumers (createElement[NS] and HTML parser accordingly | ||
#**HTML parser: https://dxr.mozilla.org/mozilla-central/source/parser/html/nsHtml5TreeOperation.cpp#335 | #**HTML parser: https://dxr.mozilla.org/mozilla-central/source/parser/html/nsHtml5TreeOperation.cpp#335 | ||
[Stage 3] (completed) | |||
#Callback reaction queue | #Callback reaction queue | ||
#Lifecycle callbacks | #Lifecycle callbacks | ||
| Line 53: | Line 59: | ||
#*disconnectedCallback | #*disconnectedCallback | ||
#*attributeChangedCallback | #*attributeChangedCallback | ||
[Stage 4] (WE'RE HERE) | |||
[Stage | # Performance work | ||
# Enable on Nightly (estimated target 59) | |||
[Stage 5] | |||
# Ride to train | |||
[Stage 6 - Backlog] | |||
#Mutation algorithms (Shadow dom) | #Mutation algorithms (Shadow dom) | ||
#*Spec: | #*Spec: | ||
#**https://dom.spec.whatwg.org/#mutation-algorithms | #**https://dom.spec.whatwg.org/#mutation-algorithms | ||
#**https://w3c.github.io/webcomponents/spec/custom/#dom-mutation-algorithms | #**https://w3c.github.io/webcomponents/spec/custom/#dom-mutation-algorithms | ||
#CSS :define | #[https://bugzilla.mozilla.org/show_bug.cgi?id=1331334 CSS :define] | ||
#Performance | #Performance | ||
# | #[https://bugzilla.mozilla.org/show_bug.cgi?id=1419295 Web-platform-tests] | ||
== Project Dashboard == | == Project Dashboard == | ||
| Line 72: | Line 81: | ||
</bugzilla> | </bugzilla> | ||
=== 1st Impl. Shipping Blocker: Performance issues (INPROGRESS) === | === 1st Impl. Shipping Blocker: Performance issues (INPROGRESS) === | ||
| Line 107: | Line 107: | ||
"blocks":["889230"], | "blocks":["889230"], | ||
"whiteboard":["dom-ce-m1"], | "whiteboard":["dom-ce-m1"], | ||
"status":["NEW","REOPENED","ASSIGNED","RESOLVED","VERIFIED","CLOSED"], | |||
"include_fields": "id, summary, status, target_milestone, resolution, assigned_to, depends_on, blocks" | |||
} | |||
</bugzilla> | |||
=== 1st Impl. Shipping Blocker: Stage_2 Bugs & Progress (IN PROGRESS)=== | |||
<bugzilla> | |||
{ | |||
"blocks":["889230"], | |||
"whiteboard":["dom-ce-m2"], | |||
"status":["NEW","REOPENED","ASSIGNED","RESOLVED","VERIFIED","CLOSED"], | "status":["NEW","REOPENED","ASSIGNED","RESOLVED","VERIFIED","CLOSED"], | ||
"include_fields": "id, summary, status, target_milestone, resolution, assigned_to, depends_on, blocks" | "include_fields": "id, summary, status, target_milestone, resolution, assigned_to, depends_on, blocks" | ||
Latest revision as of 03:37, 4 December 2017
Introduction
This project is to enable web authors to define and use new types of DOM elements in a document.
References:
- Custom Elements spec
- whatwg html wiki
- whatwg dom wiki
- blink-dev intent-to-implement
- Blink bugs
- Safari bugs
Taipei Main Members
Engineers: Edgar Chen (main contact), John Dai
Meeting Minutes
Roadmap
Summary
We are now at Stage 4, working on performance work, especially on the critical blocker from enabling this feature on Nightly.
- Estimated nightly version: 59
- Firefox dev-platform intent-to-implement
Details
[Stage 1] (completed)
- Remove support of SVG-based custom element.
- Bug: 1274505
- Window interface
- HTMLElement constructor
- Support using ES6 classes
- Construction stack
- Bug: 1274159
- Document interface
- createElement, createElementNS
- Bug: 1276579
- window.customElements.define
- Bug: 1275835
[Stage 2] (completed)
- custom element upgrade reactions stack/queue
- Upgrade reaction
- Algorithm of creating an element
- Spec: https://dom.spec.whatwg.org/#concept-create-element
- Revise consumers (createElement[NS] and HTML parser accordingly
[Stage 3] (completed)
- Callback reaction queue
- Lifecycle callbacks
- sProcessingStack
- EnqueueLifecycleCallback
- connectedCallback
- disconnectedCallback
- attributeChangedCallback
[Stage 4] (WE'RE HERE)
- Performance work
- Enable on Nightly (estimated target 59)
[Stage 5]
- Ride to train
[Stage 6 - Backlog]
- Mutation algorithms (Shadow dom)
- CSS :define
- Performance
- Web-platform-tests
Project Dashboard
Meta Bugs
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1
1st Impl. Shipping Blocker: Performance issues (INPROGRESS)
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1
Post 1st Ship: Stage_4 Bugs & Progress (BACKLOG)
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1
What Have Been DONE
1st Impl. Shipping Blocker: Stage_1 Bugs & Progress (DONE)
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1
1st Impl. Shipping Blocker: Stage_2 Bugs & Progress (IN PROGRESS)
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1
1st Impl. Shipping Blocker: Stage_3 Bugs & Progress (DONE)
Bugzilla query error
Array ( [type] => error [message] => http-bad-status [params] => Array ( [0] => 429 [1] => Unknown Error ) ) 1