Open
Bug 1122970
Opened 11 years ago
Updated 2 years ago
Inspecting pseudo-element selects originating element
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: sebo, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [btpp-backlog])
Test case:
Right-click on the yellowo pseudo-element and choose 'Inspect Element' from the context menu at this page:
data:text/html,<!DOCTYPE html><style type="text/css">p::before{content:"pseudo-element";margin-right:5px;background-color: yellow;}</style><p>text</p>
You'll see that the <p> tag gets selected within the Inspector panel instead of the pseudo-element.
Sebastian
Comment 1•10 years ago
|
||
That's because the right-click event used to open the menu doesn't have the pseudo-element as its target, but the parent element instead.
This is similar to bug 1076912.
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Patrick Brosset [:pbrosset] [:patrick] from comment #1)
> This is similar to bug 1076912.
Bug 1076912 was closed as duplicate of bug 920142.
Sebastian
See Also: → 920142
Comment 3•9 years ago
|
||
Inspector bug triage. Filter on CLIMBING SHOES.
Severity: minor → normal
Priority: -- → P3
Whiteboard: [btpp-backlog]
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•7 years ago
|
Assignee: nobody → rcaliman
Status: NEW → ASSIGNED
Updated•7 years ago
|
Assignee: rcaliman → nobody
Status: ASSIGNED → NEW
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Blocks: devtools-pseudo
You need to log in
before you can comment on or make changes to this bug.
Description
•