<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>281223</bug_id>
          
          <creation_ts>2024-10-10 07:23:44 -0700</creation_ts>
          <short_desc>[meta] Implement atomic moveBefore() API</short_desc>
          <delta_ts>2026-05-10 13:04:03 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>313148</dependson>
    
    <dependson>314066</dependson>
    
    <dependson>314067</dependson>
    
    <dependson>312161</dependson>
    
    <dependson>312384</dependson>
    
    <dependson>312983</dependson>
    
    <dependson>313719</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Farolino">domfarolino</reporter>
          <assigned_to name="Luke Warlow">lwarlow</assigned_to>
          <cc>709922234</cc>
    
    <cc>agafvv</cc>
    
    <cc>andseier</cc>
    
    <cc>annevk</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>lwarlow</cc>
    
    <cc>mattwalker340</cc>
    
    <cc>pinkhominid</cc>
    
    <cc>unilynx</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>woodlxf00</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2066893</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Farolino">domfarolino</who>
    <bug_when>2024-10-10 07:23:44 -0700</bug_when>
    <thetext>This is a tracking bug for the WebKit implementation of the moveBefore() API:

See:

 - https://github.com/whatwg/dom/issues/1255
 - https://github.com/whatwg/dom/pull/1307
 - https://github.com/whatwg/html/pull/10657
 - https://github.com/WebKit/standards-positions/issues/375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2068763</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-17 07:24:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/138111357&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2145450</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-09-23 21:31:35 -0700</bug_when>
    <thetext>The standard position is marked as support: positive. 
https://github.com/WebKit/standards-positions/issues/375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163902</commentid>
    <comment_count>3</comment_count>
    <who name="">andseier</who>
    <bug_when>2025-12-06 12:40:49 -0800</bug_when>
    <thetext>Any updates here? It appears to be formally in the specification and has been supported by Chrome and Firefox. For context, the `moveBefore` API helps me avoid unnecessary work in the `connectedCallback` / `disconnectedCallback` (which is currently unavoidable without using `moveBefore`). Thanks for reading &lt;3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170192</commentid>
    <comment_count>4</comment_count>
    <who name="">mattwalker340</who>
    <bug_when>2026-01-08 01:14:59 -0800</bug_when>
    <thetext>It seems that all of the linked issues have been closed - what are we waiting on before this will be integrated into Safari? As andseier says I am waiting for much better lifecycle usage in web components, and we can&apos;t integrate improvements into our platform until this is supported in Safari</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>