Open Bug 1228689 Opened 9 years ago Updated 2 years ago

Node in markup-view can be expanded if I delete its inner html

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(firefox45 affected)

Tracking Status
firefox45 --- affected

People

(Reporter: arni2033, Unassigned)

References

()

Details

(Whiteboard: [btpp-backlog][polish-backlog][difficulty=easy])

>>> My Info: Win7_64, Nightly 45, 32bit, ID 20151127030231 STR: 1. Open this "data:" url in a new tab: > data:text/html,<b>asdf</b> 2. Open Inspector 3. In markup-view, doubleclick string "asdf", delete it, press Enter 4. Press Right key to make sure that the node doesn't expand 5. Click <head> element to focus it 6. Press Right key 3 times (or press Down key twice, then Right key) Result: <b> node is expanded [request screencast if necessary] Expectations: Brand new design implies that node w/o childs or with only text child couldn't be expanded. So <b> node shouldn't be expanded at all. Note: Looking at all mistakes in implementing bug 892935 and all usability issues it has caused, I think that the best way was NOT to forbid expanding nodes, but, conversely, to improve the way nodes (including text nodes) are expanded.
Whiteboard: [polish-backlog]
Whiteboard: [polish-backlog] → [polish-backlog][difficulty=easy]
Triaging (filter on CLIMBING SHOES).
Priority: -- → P3
Whiteboard: [polish-backlog][difficulty=easy] → [btpp-backlog][polish-backlog][difficulty=easy]
Product: Firefox → DevTools
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.