Skip to content

Commit a119388

Browse files
foolipddbeck
andauthored
Update moveBefore() spec and BCD keys (#3266)
Spec changes were landed here: whatwg/dom#1307 whatwg/html#10657 Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
1 parent acf7887 commit a119388

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

features/move-before.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: moveBefore()
22
description: The `moveBefore()` DOM method relocates a node while preserving its state. For example, you can move the active element without losing focus, move an animated element without resetting the animation, or move an iframe without reloading its content.
3-
spec: https://github.com/whatwg/dom/pull/1307
3+
spec:
4+
- https://dom.spec.whatwg.org/#dom-parentnode-movebefore
5+
- https://html.spec.whatwg.org/multipage/custom-elements.html#preserving-custom-element-state-when-moved
46
group: dom
57
compat_features:
8+
- api.CustomElementRegistry.define.connectedMoveCallback_lifecycle_callback
69
- api.Document.moveBefore
710
- api.DocumentFragment.moveBefore
811
- api.Element.moveBefore

features/move-before.yml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ status:
88
chrome_android: "133"
99
edge: "133"
1010
compat_features:
11+
- api.CustomElementRegistry.define.connectedMoveCallback_lifecycle_callback
1112
- api.Document.moveBefore
1213
- api.DocumentFragment.moveBefore
1314
- api.Element.moveBefore

scripts/specs.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,6 @@ const defaultAllowlist: allowlistItem[] = [
121121
"https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DocumentSubtitle/explainer.md",
122122
"Allowed because this is where the application-title meta tag is spec'd at the moment. Remove when https://github.com/whatwg/html/issues/8909 is fixed."
123123
],
124-
[
125-
"https://github.com/whatwg/dom/pull/1307",
126-
"This is only place moveBefore() is spec'd. Remove this exception when https://github.com/whatwg/dom/pull/1307 merges."
127-
],
128124
[
129125
"https://www.w3.org/TR/2018/SPSD-html5-20180327/embedded-content-0.html#synchronising-multiple-media-elements",
130126
"Allowed for the mediacontroller feature. This is the superseded HTML5 spec that still contains MediaController."

0 commit comments

Comments
 (0)