CSS Test Reference
+
+
+Should see a green square centered and at the bottom of the blue square.
+
diff --git a/css/css-align/content-distribution/place-content-shorthand-007.html b/css/css-align/content-distribution/place-content-shorthand-007.html
new file mode 100644
index 00000000000000..be954c9712189d
--- /dev/null
+++ b/css/css-align/content-distribution/place-content-shorthand-007.html
@@ -0,0 +1,22 @@
+
+
+CSS Box Alignment: place-content shorthand with fallback
+
+
+
+
+
+Should see a green square centered and at the bottom of the blue square.
+
diff --git a/custom-elements/Document-createElement.html b/custom-elements/Document-createElement.html
index e446c507ca865a..52a68e8e178976 100644
--- a/custom-elements/Document-createElement.html
+++ b/custom-elements/Document-createElement.html
@@ -29,6 +29,21 @@
}, 'document.createElement must create an instance of custom elements');
+test(function () {
+ class AutonomousCustomElement extends HTMLElement {};
+ class IsCustomElement extends HTMLElement {};
+
+ customElements.define('autonomous-custom-element', AutonomousCustomElement);
+ customElements.define('is-custom-element', IsCustomElement);
+
+ var instance = document.createElement('autonomous-custom-element', { is: "is-custom-element"});
+
+ assert_true(instance instanceof AutonomousCustomElement);
+ assert_equals(instance.localName, 'autonomous-custom-element');
+ assert_equals(instance.namespaceURI, 'http://www.w3.org/1999/xhtml', 'A custom element HTML must use HTML namespace');
+
+}, 'document.createElement must create an instance of autonomous custom elements when it has is attribute');
+
function assert_reports(expected, testFunction, message) {
var uncaughtError = null;
window.onerror = function (message, url, lineNumber, columnNumber, error) { uncaughtError = error; return true; }
diff --git a/custom-elements/parser/parser-constructs-custom-elements-with-is.html b/custom-elements/parser/parser-constructs-custom-elements-with-is.html
new file mode 100644
index 00000000000000..96c00278a3d7a0
--- /dev/null
+++ b/custom-elements/parser/parser-constructs-custom-elements-with-is.html
@@ -0,0 +1,51 @@
+
+
+
+Custom Elements: Changes to the HTML parser
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/custom-elements/upgrading/Node-cloneNode.html b/custom-elements/upgrading/Node-cloneNode.html
index 0d158fd59e4863..0492e1f39a131d 100644
--- a/custom-elements/upgrading/Node-cloneNode.html
+++ b/custom-elements/upgrading/Node-cloneNode.html
@@ -30,6 +30,25 @@
'A cloned custom element must be an instance of the custom element');
}, 'Node.prototype.cloneNode(false) must be able to clone a custom element');
+test(function () {
+ class AutonomousCustomElement extends HTMLElement {};
+ class IsCustomElement extends HTMLElement {};
+
+ customElements.define('autonomous-custom-element', AutonomousCustomElement);
+ customElements.define('is-custom-element', IsCustomElement);
+
+ var instance = document.createElement('autonomous-custom-element', { is: "is-custom-element"});
+ assert_true(instance instanceof HTMLElement);
+ assert_true(instance instanceof AutonomousCustomElement);
+
+ var clone = instance.cloneNode(false);
+ assert_not_equals(instance, clone);
+ assert_true(clone instanceof HTMLElement,
+ 'A cloned custom element must be an instance of HTMLElement');
+ assert_true(clone instanceof AutonomousCustomElement,
+ 'A cloned custom element must be an instance of the custom element');
+}, 'Node.prototype.cloneNode(false) must be able to clone as a autonomous custom element when it contains is attribute');
+
test_with_window(function (contentWindow) {
var contentDocument = contentWindow.document;
class MyCustomElement extends contentWindow.HTMLElement {}
diff --git a/fetch/api/response/response-init-002.html b/fetch/api/response/response-init-002.html
index 0bb2e8d0b3b28d..a48af833644efe 100644
--- a/fetch/api/response/response-init-002.html
+++ b/fetch/api/response/response-init-002.html
@@ -65,6 +65,11 @@
});
}, "Testing empty Response Content-Type header");
+ test(function() {
+ var response = new Response(null, {status: 204});
+ assert_equals(response.body, null);
+ }, "Testing null Response body");
+