diff --git a/reports/2022.html b/reports/2022.html index dc1cc76..7b029e0 100644 --- a/reports/2022.html +++ b/reports/2022.html @@ -23,6 +23,10 @@ name: "Alan Dávalos", url: "https://github.com/alangdm", }, + { + name: "Rob Eisenberg", + url: "https://github.com/eisenbergeffect", + }, { name: "Owen Buckley", url: "https://github.com/thescientist13", @@ -167,15 +171,15 @@

Table of Contents

Lazy custom element definitions + WICG/webcomponents#782 - - + Uncertain DOM Parts + DOM Part API - First Step of Template Instantiation - - + Uncertain HTML modules @@ -185,9 +189,9 @@

Table of Contents

Custom Attributes + Web Components CG Discussion - - + Not addressed --- @@ -924,51 +928,117 @@

Links

Previous WCCG Report(s)
2021
GitHub issues:
-
---
+
+ +
Browser positions:
---

Description

-

---

+

A method of creating custom elements completely with declarative HTML, not requiring JavaScript.

Status

Initial API Summary/Quick API Proposal

-

Summary or proposal based on current status; paragraph(s) and code.

+

The following, copied from the original strapwerson proposal, demonstrates how a declarative custom element could be defined with the need for JavaScript.

+
<definition name="percentage-bar">
+    <template shadowmode="closed">
+        <div id="progressbar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="{{\root.attributes.percentage.value}}">
+            <div id="bar" style="width: {{\root.attributes.percentage.value}}%"></div>
+            <div id="label"><slot></slot></div>
+        </div>
+        <style>
+            :host { display: inline-block !important; }
+            #progressbar { position: relative; display: block; width: 100%; height: 100%; }
+            #bar { background-color: #36f; height: 100%; }
+            #label { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; text-align: center; }
+        </style>
+    </template>
+</definition>
+        

Key Scenarios

-

---

+

Concerns

Dissenting Opinion

- +

No dissenting opinions yet.

Related Specs

Open Questions

@@ -1260,51 +1330,155 @@

Links

Previous WCCG Report(s)
N/A
GitHub issues:
-
---
+
+ +
Browser positions:
---

Description

-

---

+

+ Enable the browser to automatically load a custom element definition when it first sees the associated tag. +

Status

Initial API Summary/Quick API Proposal

-

Summary or proposal based on current status; paragraph(s) and code.

+

Below is a definition for the proposed new CustomElementRegistry API.

+
+          CustomElementRegistry#defineLazy(tagName: string, loader: () => Promise);
+        

Key Scenarios

-

---

+

+

+

Concerns

Dissenting Opinion

Related Specs

Open Questions

@@ -1316,51 +1490,148 @@

Links

Previous WCCG Report(s)
N/A
GitHub issues:
-
---
+
+ +
Browser positions:
---

Description

-

---

+

A mechanism to insert or replace content at specific locations within the DOM tree.

Status

Initial API Summary/Quick API Proposal

-

Summary or proposal based on current status; paragraph(s) and code.

+

The following is a summary of the core types from the proposal.

+
+          interface Part {
+              attribute any value;
+              void commit();
+          };
+          
+          
+          interface NodePart : Part {
+              readonly attribute Node node;
+          };
+          
+          
+          interface AttributePart : Part {
+              constructor(Element element, DOMString qualifiedName, DOMString? namespace);
+              readonly attribute DOMString prefix;
+              readonly attribute DOMString localName;
+              readonly attribute DOMString namespaceURI;
+          };
+          
+          
+          interface ChildNodePart : Part {
+              constructor(Node node, Node? previousSibling, Node? nextSibling);
+              readonly attribute Node parentNode;
+              readonly attribute Node? previousSibling;
+              readonly attribute Node? nextSibling;
+          }
+          

Key Scenarios

-

---

+

+

+

Concerns

Dissenting Opinion

Related Specs

Open Questions

@@ -1428,51 +1699,126 @@

Links

Previous WCCG Report(s)
N/A
GitHub issues:
-
---
+
+ +
Browser positions:
---

Description

-

---

+

Enable developers to create reusable custom behaviors that that can be declaratively applied to any element.

Status

Initial API Summary/Quick API Proposal

-

Summary or proposal based on current status; paragraph(s) and code.

+

There is no issue or proposal yet. The following can serve as an initial idea, inspired by custom elements.

+
+          class MaterialRipple extends Attr {
+            // ownerElement inherited from Attr
+            // name inherited from Attr
+            // value inherited from Attr
+            // ...
+        
+            connectedCallback () {
+              // called when the ownerElement is connected to the DOM
+            }
+        
+            disconnectedCallback () {
+              // called when the ownerElement is disconnected from the DOM
+            }
+        
+            attributeChangedCallback() {
+              // called when the value property of this attribute changes
+            }
+        }
+        
+        customAttributes.define("material-ripple", MaterialRipple);
+        

Key Scenarios

-

---

+

+

+

Concerns

- +

No concerns yet.

Dissenting Opinion

- +

No dissenting opinions yet.

Related Specs

Open Questions