Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b084355708b8e18ed3953423fc6e7fc018cca90
      
https://github.com/WebKit/WebKit/commit/0b084355708b8e18ed3953423fc6e7fc018cca90
  Author: Razvan Caliman <[email protected]>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

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

  Log Message:
  -----------
  Web Inspector: Parse attributes added via editing the tag name
https://bugs.webkit.org/show_bug.cgi?id=276533
rdar://problem/131607290

Reviewed by Devin Rousso.

Allow the user to input attributes when editing a node's tag name in the DOM 
node tree.

Take the first space-delimited substring to use as the tag name and use the 
rest as a string of attributes.
If the new tag name is invalid, the entire transaction will reject and revert 
to the original node.

* Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js:
(WI.DOMTreeElement.prototype._startEditingTagName.keyupListener):
(WI.DOMTreeElement.prototype._tagNameEditingCommitted):
(WI.DOMTreeElement.prototype._tagNameEditingCommitted.changeTagNameCallback): 
Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to