Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3f3dfe8ce76fa73883a2e4d8bfdfa6688aea27c
      
https://github.com/WebKit/WebKit/commit/f3f3dfe8ce76fa73883a2e4d8bfdfa6688aea27c
  Author: Luke Warlow <[email protected]>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    A LayoutTests/inspector/dom/moveBefore-expected.txt
    A LayoutTests/inspector/dom/moveBefore-protocol-expected.txt
    A LayoutTests/inspector/dom/moveBefore-protocol.html
    A LayoutTests/inspector/dom/moveBefore.html
    M Source/WebCore/dom/ContainerNode.cpp

  Log Message:
  -----------
  moveBefore() isn't updating web inspector
https://bugs.webkit.org/show_bug.cgi?id=318861

Reviewed by Devin Rousso.

Adds InspectorInstrumentation calls to ContainerNode::moveBefore(),
this ensures that the web inspector is kept up-to-date when elements move 
within the DOM.

This doesn't, however, support DOM breakpoints yet.

Also adds some tests to ensure this works as expected.

Tests: inspector/dom/moveBefore-protocol.html
       inspector/dom/moveBefore.html

* LayoutTests/inspector/dom/moveBefore-expected.txt: Added.
* LayoutTests/inspector/dom/moveBefore-protocol-expected.txt: Added.
* LayoutTests/inspector/dom/moveBefore-protocol.html: Added.
* LayoutTests/inspector/dom/moveBefore.html: Added.
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::moveBefore):

Canonical link: https://commits.webkit.org/318724@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to