Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4237ebc104789ad73c146470fd84037c84ce7a0e
      
https://github.com/WebKit/WebKit/commit/4237ebc104789ad73c146470fd84037c84ce7a0e
  Author: Razvan Caliman <[email protected]>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js
    M Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js

  Log Message:
  -----------
  Web Inspector: Elements: Support copying HTML text of multiple selected DOM 
nodes
https://bugs.webkit.org/show_bug.cgi?id=307799
rdar://169196441

Reviewed by Devin Rousso.

The context menu options to copy HTML and HTML (formatted) are updated
to support copying the HTML text of all selected nodes from the DOM tree 
outline.

* Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js:
(WI.FormatterWorkerProxy.prototype.formatJavaScript):
(WI.FormatterWorkerProxy.prototype.formatCSS):
(WI.FormatterWorkerProxy.prototype.formatHTML):
(WI.FormatterWorkerProxy.prototype.formatXML):
(WI.FormatterWorkerProxy.prototype.performAction):
* Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js:
(WI.DOMTreeElement.prototype.populateDOMNodeContextMenu):
(WI.DOMTreeElement.prototype._copyHTMLOfSelectedDOMNodes.async then):
(WI.DOMTreeElement.prototype._copyHTMLOfSelectedDOMNodes):

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



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

Reply via email to