Open Bug 1390017 Opened 7 years ago Updated 2 years ago

Context menus for text nodes are misleading

Categories

(DevTools :: Inspector, enhancement, P3)

54 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: regspam, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643

Steps to reproduce:

1. Open an html file with the contents 

<html><body><span></span>
test
<span></span></body></html>

, open Page Inspector.

2. Right-click the "test" text node, the context menu appears.

3. The "Delete" command there is greyed out, however you can delete the node with the "Del" key. The "Attributes", "Copy" and "Paste" aren't and are expandable (with all the submenu items greyed out), but don't seem to do anything when clicked on.
Component: Untriaged → Developer Tools: Inspector
> The "Delete" command
The "Delete Node" command, sorry.
Thanks for filing, these are good point. The attributes menu should be disabled. The delete and duplicate items should be enabled however.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.