From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../v0/instantiating/changing-is-attribute.html | 158 +++++++++++++++++++++ .../custom-element-constructor-is-attribute.html | 49 +++++++ .../custom-element-constructor-local-name.html | 44 ++++++ .../custom-element-constructor-namespace.html | 43 ++++++ .../custom-element-constructor-node-document.html | 100 +++++++++++++ .../custom-element-constructor-prototype.html | 28 ++++ .../v0/instantiating/custom-element-prototype.html | 30 ++++ .../custom-element-type-is-attribute.html | 73 ++++++++++ ...m-element-type-local-name-and-is-attribute.html | 101 +++++++++++++ .../custom-element-type-local-name.html | 38 +++++ ...ate-element-interface-type-is-a-local-name.html | 43 ++++++ ...element-interface-type-is-a-type-extension.html | 69 +++++++++ .../create-element-is-attribute.html | 71 +++++++++ .../create-element-namespace.html | 68 +++++++++ .../create-element-type-extension-is-a-type.html | 47 ++++++ .../create-element-type-extension-unresolved.html | 49 +++++++ .../create-element-type-is-a-local-name.html | 38 +++++ .../created-callback-create-element-ns.html | 72 ++++++++++ .../created-callback-create-element.html | 72 ++++++++++ .../non-configurable-constructor-property.html | 41 ++++++ .../prototype-is-interface-prototype-object.html | 44 ++++++ .../v0/instantiating/unchanged-attribute.html | 29 ++++ 22 files changed, 1307 insertions(+) create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/changing-is-attribute.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-prototype.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html create mode 100644 testing/web-platform/tests/custom-elements/v0/instantiating/unchanged-attribute.html (limited to 'testing/web-platform/tests/custom-elements/v0/instantiating') diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/changing-is-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/changing-is-attribute.html new file mode 100644 index 000000000..fb4338840 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/changing-is-attribute.html @@ -0,0 +1,158 @@ + + + +Changing IS attribute of the custom element must not affect this element's custom element type, after element is instantiated + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html new file mode 100644 index 000000000..0e18bf651 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-is-attribute.html @@ -0,0 +1,49 @@ + + + +Custom element constructor sets value of IS attribute to custom element type, if it is not equal to name + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html new file mode 100644 index 000000000..28f6ca33f --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-local-name.html @@ -0,0 +1,44 @@ + + + +Custom element constructor sets local name to the name from custom element definition + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html new file mode 100644 index 000000000..7278086ac --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-namespace.html @@ -0,0 +1,43 @@ + + + +Custom element constructor sets local namespace to the namespace from custom element definition + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html new file mode 100644 index 000000000..3112b36da --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-node-document.html @@ -0,0 +1,100 @@ + + + +Custom element constructor sets owner document to the document, where custom element type is registered + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html new file mode 100644 index 000000000..0158af511 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-constructor-prototype.html @@ -0,0 +1,28 @@ + + + +Custom element constructor prototype is the prototype object specified in element definition + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-prototype.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-prototype.html new file mode 100644 index 000000000..2b298ea74 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-prototype.html @@ -0,0 +1,30 @@ + + + +Custom element prototype is the prototype object specified in element definition + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html new file mode 100644 index 000000000..c18290d0e --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-is-attribute.html @@ -0,0 +1,73 @@ + + + +Instantiation of custom element: custom element type is given as the value of the IS attribute + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html new file mode 100644 index 000000000..c55e2cc25 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name-and-is-attribute.html @@ -0,0 +1,101 @@ + + + +Instantiation of custom element: the custom tag must win over the type extension + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name.html b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name.html new file mode 100644 index 000000000..0f0d46f0a --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/custom-element-type-local-name.html @@ -0,0 +1,38 @@ + + + +Instantiation of custom element: custom element type is given via the local name of the custom element + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html new file mode 100644 index 000000000..f59d6dcb8 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-local-name.html @@ -0,0 +1,43 @@ + + + +Document.createElement() and Document.createElementNS() create custom element of type, specified by localName argument + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html new file mode 100644 index 000000000..3df042676 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-interface-type-is-a-type-extension.html @@ -0,0 +1,69 @@ + + + +Document.createElement() and Document.createElementNS() create custom element of type, specified by typeExtension argument + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html new file mode 100644 index 000000000..374ec5922 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-is-attribute.html @@ -0,0 +1,71 @@ + + + +Document.createElement() and Document.createElementNS() set IS attribute to type + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html new file mode 100644 index 000000000..60d501219 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-namespace.html @@ -0,0 +1,68 @@ + + + +Document.createElement() sets custom element namespace to HTML Namespace + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html new file mode 100644 index 000000000..ce7c933e2 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-is-a-type.html @@ -0,0 +1,47 @@ + + + +Document.createElement() and Document.createElementNS() create custom element of type, specified by typeExtension argument + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html new file mode 100644 index 000000000..3eaadf312 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-extension-unresolved.html @@ -0,0 +1,49 @@ + + + +Document.createElement() and Document.createElementNS() create custom element of type, specified by localName argument + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html new file mode 100644 index 000000000..487b14b9d --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/create-element-type-is-a-local-name.html @@ -0,0 +1,38 @@ + + + +Document.createElement() and Document.createElementNS() create custom element of type, specified by single localName argument + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html new file mode 100644 index 000000000..7bf09601c --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element-ns.html @@ -0,0 +1,72 @@ + + + +Document.createElementNS() must enqueue created callback for registered custom element type + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html new file mode 100644 index 000000000..dc05e01e1 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/extensions-to-document-interface/created-callback-create-element.html @@ -0,0 +1,72 @@ + + + +Document.createElement() must enqueue created callback for registered custom element type + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html b/testing/web-platform/tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html new file mode 100644 index 000000000..ddb1ff9de --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/non-configurable-constructor-property.html @@ -0,0 +1,41 @@ + + + +If prototype has a non-configurable property named constructor, Document.registerElement() throws NotSupportedError + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html b/testing/web-platform/tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html new file mode 100644 index 000000000..ad7f454f5 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/prototype-is-interface-prototype-object.html @@ -0,0 +1,44 @@ + + + +If prototype is already an interface prototype object, Document.registerElement() throws a NotSupportedError + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/v0/instantiating/unchanged-attribute.html b/testing/web-platform/tests/custom-elements/v0/instantiating/unchanged-attribute.html new file mode 100644 index 000000000..3baa174cb --- /dev/null +++ b/testing/web-platform/tests/custom-elements/v0/instantiating/unchanged-attribute.html @@ -0,0 +1,29 @@ + + +Custom element's type is immutable. + + + + + +
+ -- cgit v1.2.3