Open
Bug 1195122
Opened 9 years ago
Updated 2 years ago
Allow to drag element into empty element or element with only text content (and without pseudo-elements)
Categories
(DevTools :: Inspector, enhancement, P3)
DevTools
Inspector
Tracking
(firefox43 affected)
NEW
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: arni2033, Unassigned)
References
()
Details
STR: (Win7, Nightly 43.0a1 (2015-08-15))
1. Open page data:text/html,<div><br>
2. Drag-and-drop <br> element to make it 1st child of <body>
3. Try to drag-and-drop <br> element back into <div> element
Result: Currently there's no way to do that
Expectations: There should be the way to do that.
Note: Currently I have to copy <br>'s outerHTML, then remove <br> element, then
edit <div> as HTML, paste <br>'s outerHTML, press Ctrl+Enter.
(And btw I'm going to get black closing tag </div> due to bug 1189464)"
Severity: normal → enhancement
Status: NEW → UNCONFIRMED
Ever confirmed: false
Comment 1•9 years ago
|
||
Not only empty elements but also elements only containing text are affected by this.
I'd suggest the UI to be a vertical bar right after the opening tag or before the closing tag as indication for where the dragged element will be inserted when dropped.
Sebastian
Summary: Drag and drop mode in Inspector doesn't allow to move an element into another element with empty innerHTML (and without pseudoelements) → Allow to drag element into empty element or element with only text content (and without pseudo-elements)
Updated•8 years ago
|
Blocks: top-inspector-bugs
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
No longer blocks: top-inspector-bugs
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•