Open
Bug 1213833
Opened 9 years ago
Updated 1 year ago
Pseudoelement's parent node doesn't get focus in markup-view when focused pseudoelement is deleted
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(firefox44 affected)
NEW
Tracking | Status | |
---|---|---|
firefox44 | --- | affected |
People
(Reporter: arni2033, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [polish-backlog][difficulty=easy])
Attachments
(1 file)
(deleted),
text/html
|
Details |
STR: (Win7_64, Nightly 44, 32bit, ID 20151011030229, new profile)
1. Open this "data:" url or click URL in the form above
> data:text/html,<style>html:hover body::after{ content: "pseudoelement"; }
2. Open devtools -> Inspector, focus <body> element (click on it).
3. Move mouse over the center of content to make <html> hovered. [::after pseudoelement will appear]
4. Press "Right" key to expand the list of <body>'s child nodes in markup-view.
5. Move mouse to the center of devtools pane to make <html> lose ":hover" state
Result: ::after pseudoelement is deleted from markup-view [OK]
and no elements become focused in markup-view [not OK]
Expectations: Parent element of deleted node should become focused in markup-view, because it happens
when normal element (which is focused in markup-view) is being deleted (by JS, for example)
Comment 1•9 years ago
|
||
Good catch, thanks for the report
Depends on: 1208544
Whiteboard: [polish-backlog]
Oh, I completely missed one step between 4 and 5... Step 4 should be:
> 4. Press "Right" key to expand the list of <body>'s child nodes in markup-view,
> then "Down" key to focus ::after pseudoelement in markup-view
I'm also uploading a better testcase & STR:
1. Open "testcase 1.1"
2. Click the content [::after pseudoelement will appear]
3. Open devtools > Inspector, expand the list of <body>'s child nodes, click "::after" node to focus it
4. Click the content [that'll remove ::after element]
Result: ::after pseudoelement is deleted from markup-view [OK]
and no elements become focused in markup-view [not OK]
I also noticed that pseudoelement isn't deleted from breadcrumbs - _maybe_ it requires another report
Comment 3•9 years ago
|
||
(In reply to arni2033 from comment #2) > I also noticed that pseudoelement isn't deleted from breadcrumbs - _maybe_ > it requires another report Yes, this will be easier to work on as a separate bug. Thanks! Brian: I'm going to flag this as "easy", feel free to adjust if needed.
Whiteboard: [polish-backlog] → [polish-backlog][difficulty=easy]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Blocks: devtools-pseudo
You need to log in
before you can comment on or make changes to this bug.
Description
•