[Webkit-unassigned] [Bug 199396] New: Web Inspector: Elements: pasting doesn't work when a comment node is selected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 1 23:47:49 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199396
Bug ID: 199396
Summary: Web Inspector: Elements: pasting doesn't work when a
comment node is selected
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: drousso at apple.com
CC: inspector-bugzilla-changes at group.apple.com
# STEPS TO REPRODUCE:
1. inspect any page
2. go to the Elements tab
3. select any node (preferably one that doesn't have any children)
4. copy that node (âC)
5. select a non-Element node (e.g. comment or text)
6. paste (âV)
=> nothing happens (the outer HTML copied from steps 3 and 4 should be added as a next sibling)
This is because `insertAdjacentHTML` only exists on Element nodes, which comments/text are not.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190702/2c148744/attachment-0001.html>
More information about the webkit-unassigned
mailing list