Closed
Bug 1273000
Opened 9 years ago
Closed 9 years ago
inspector: replace textnode by whitespace creates empty element in markupview
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(firefox49 affected)
RESOLVED
DUPLICATE
of bug 1304685
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | affected |
People
(Reporter: jdescottes, Unassigned)
Details
Attachments
(1 file)
|
583.20 KB,
image/gif
|
Details |
STRs:
- open data:text/html,<div>textnode<span>
- open inspector, inspect "textnode"
- in markupview, doubleclick to edit the text of "textnode"
- replace "textnode" by " "
- commit the change
ER: The empty textnode should be removed from the view
AR: An empty element remains instead of the textnode
Note, if you close and reopen the inspector, the empty textnode is gone.
Empty text nodes are normally filtered in the inspector actor ([1] & [2]), but it looks like this is not handled when updating nodes.
Comment 1•9 years ago
|
||
FILTER ON CLIMBING SHOES
Marking this one as a P2 because it makes the markup view look broken
Priority: -- → P2
Comment 2•9 years ago
|
||
I think we should close this as a duplicate of bug 1304685.
Please re-open if you think otherwise.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•