summaryrefslogtreecommitdiffstats
path: root/testing/web-platform
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 07:35:48 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 07:35:48 -0400
commit3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17 (patch)
treec793eb598816afa68a560c4224b06ca15b8ad55c /testing/web-platform
parentf164962a3dc53f4823dfff6c77e7972c72d4c61f (diff)
downloadUXP-3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17.tar
UXP-3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17.tar.gz
UXP-3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17.tar.lz
UXP-3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17.tar.xz
UXP-3508e79b1fe7fc928eed2f3c7bf2d628c53fbf17.zip
Bug 1409976 - Add `slotchange` event
* Add support for `slotchange` event * Signal `slotchange` when slot's assigned nodes changes Tag #1375
Diffstat (limited to 'testing/web-platform')
-rw-r--r--testing/web-platform/meta/shadow-dom/slotchange-event.html.ini99
-rw-r--r--testing/web-platform/meta/shadow-dom/slotchange.html.ini47
2 files changed, 0 insertions, 146 deletions
diff --git a/testing/web-platform/meta/shadow-dom/slotchange-event.html.ini b/testing/web-platform/meta/shadow-dom/slotchange-event.html.ini
deleted file mode 100644
index 434e7d9ba..000000000
--- a/testing/web-platform/meta/shadow-dom/slotchange-event.html.ini
+++ /dev/null
@@ -1,99 +0,0 @@
-[slotchange-event.html]
- type: testharness
- expected: ERROR
- [slotchange event must fire on a default slot element inside an open shadow root in a document]
- expected: FAIL
-
- [slotchange event must fire on a default slot element inside a closed shadow root in a document]
- expected: FAIL
-
- [slotchange event must fire on a default slot element inside an open shadow root not in a document]
- expected: FAIL
-
- [slotchange event must fire on a default slot element inside a closed shadow root not in a document]
- expected: FAIL
-
- [slotchange event must fire on a named slot element insidean open shadow root in a document]
- expected: FAIL
-
- [slotchange event must fire on a named slot element insidea closed shadow root in a document]
- expected: FAIL
-
- [slotchange event must fire on a named slot element insidean open shadow root not in a document]
- expected: FAIL
-
- [slotchange event must fire on a named slot element insidea closed shadow root not in a document]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside an open shadow root in a document when another slot's assigned nodes change]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside a closed shadow root in a document when another slot's assigned nodes change]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside an open shadow root not in a document when another slot's assigned nodes change]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside a closed shadow root not in a document when another slot's assigned nodes change]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside an open shadow root in a document when the shadow host was mutated before the slot was inserted or after the slot was removed]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside a closed shadow root in a document when the shadow host was mutated before the slot was inserted or after the slot was removed]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside an open shadow root not in a document when the shadow host was mutated before the slot was inserted or after the slot was removed]
- expected: FAIL
-
- [slotchange event must not fire on a slot element inside a closed shadow root not in a document when the shadow host was mutated before the slot was inserted or after the slot was removed]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root in a document even if the slot was removed immediately after the assigned nodes were mutated]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root not in a document even if the slot was removed immediately after the assigned nodes were mutated]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root in a document when innerHTML modifies the children of the shadow host]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root in a document when innerHTML modifies the children of the shadow host]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root not in a document when innerHTML modifies the children of the shadow host]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root not in a document when innerHTML modifies the children of the shadow host]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root in a document when nested slots's contents change]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root in a document when nested slots's contents change]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside an open shadow root not in a document when nested slots's contents change]
- expected: FAIL
-
- [slotchange event must fire on a slot element inside a closed shadow root not in a document when nested slots's contents change]
- expected: FAIL
-
- [slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root in a document when slots's contents change]
- expected: FAIL
-
- [slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root in a document when slots's contents change]
- expected: FAIL
-
- [slotchange event must fire at the end of current microtask after mutation observers are invoked inside an open shadow root not in a document when slots's contents change]
- expected: FAIL
-
- [slotchange event must fire at the end of current microtask after mutation observers are invoked inside a closed shadow root not in a document when slots's contents change]
- expected: FAIL
-
diff --git a/testing/web-platform/meta/shadow-dom/slotchange.html.ini b/testing/web-platform/meta/shadow-dom/slotchange.html.ini
deleted file mode 100644
index fff6fa28d..000000000
--- a/testing/web-platform/meta/shadow-dom/slotchange.html.ini
+++ /dev/null
@@ -1,47 +0,0 @@
-[slotchange.html]
- type: testharness
- [slotchange event: Append a child to a host.]
- expected: FAIL
-
- [slotchange event: Remove a child from a host.]
- expected: FAIL
-
- [slotchange event: Remove a child before adding an event listener.]
- expected: FAIL
-
- [slotchange event: Change slot= attribute to make it un-assigned.]
- expected: FAIL
-
- [slotchange event: Change slot's name= attribute so that none is assigned.]
- expected: FAIL
-
- [slotchange event: Change slot= attribute to make it assigned.]
- expected: FAIL
-
- [slotchange event: Change slot's name= attribute so that a node is assigned to the slot.]
- expected: FAIL
-
- [slotchange event: Add a fallback content.]
- expected: FAIL
-
- [slotchange event: Remove a fallback content.]
- expected: FAIL
-
- [slotchange event: Add a fallback content to nested slots.]
- expected: FAIL
-
- [slotchange event: Remove a fallback content from nested slots.]
- expected: FAIL
-
- [slotchange event: Insert a slot before an existing slot.]
- expected: FAIL
-
- [slotchange event: Remove a preceding slot.]
- expected: FAIL
-
- [slotchange event: A slot is assigned to another slot.]
- expected: FAIL
-
- [slotchange event: Even if distributed nodes do not change, slotchange should be fired if assigned nodes are changed.]
- expected: FAIL
-