From f2b825131bafe2d840139688214f08276838f814 Mon Sep 17 00:00:00 2001
From: Dimitri Glazkov
Date: Thu, 8 May 2014 15:18:31 -0700
Subject: [PATCH 1/2] Clarify that custom SVG elements must extend an existing
SVGElement. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24176
---
spec/custom/index.html | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/spec/custom/index.html b/spec/custom/index.html
index a1950b23..60eb726a 100644
--- a/spec/custom/index.html
+++ b/spec/custom/index.html
@@ -531,12 +531,21 @@ Extensions to type extension -- that is, this element does not introduce a new tag (like the custom tag elements do), but rather extends an existing element of type HTMLParagraphElement. Here's how one could instantiate this element:
+
+<p is="x-foo">Paragraph of amazement</p>
+
+Or imperatively, in JavaScript:
+
+var foo = document.createElement('p', 'x-foo');
-
+Elements with SVGElement prototype deserve a special mention: using custom tag approach results in ignored elements in SVG. Thus, your SVG-based custom elements would almost always be type extensions.
Unresolved Element Pseudoclass
The :unresolved pseudoclass must match all custom elements whose created callback has not yet been invoked.
From ce16ea794914a9347852275e620a2d615643b5e7 Mon Sep 17 00:00:00 2001
From: Dimitri Glazkov
Date: Thu, 8 May 2014 15:32:14 -0700
Subject: [PATCH 2/2] Add extra line break.
---
spec/custom/index.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/spec/custom/index.html b/spec/custom/index.html
index 60eb726a..8d7b42bc 100644
--- a/spec/custom/index.html
+++ b/spec/custom/index.html
@@ -546,6 +546,7 @@ Extensions to custom tag approach results in ignored elements in SVG. Thus, your SVG-based custom elements would almost always be type extensions.
+
Unresolved Element Pseudoclass
The :unresolved pseudoclass must match all custom elements whose created callback has not yet been invoked.