Closed
Bug 1208544
Opened 9 years ago
Closed 9 years ago
Make devtools inspector listen to mutations on pseudo elements with MutationObserver->nativeAnonymousChildList
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(firefox44 fixed)
RESOLVED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog])
+++ This bug was initially created as a clone of Bug #1034110 +++
Breaking the devtools-specific work for this project into a separate bug.
Basically, if a style rule is removed that causes the pseudo element to no longer be an anonymous child of the parent, I'd like to know. Likewise if a new style rule is added. I've put together a basic test case here: https://bgrins.github.io/devtools-demos/inspector/pseudo.html.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Comment 1•9 years ago
|
||
Brian, will this also fix the testcase from bug 185431 comment 33 ?
Flags: needinfo?(bgrinstead)
Assignee | ||
Comment 2•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #1)
> Brian, will this also fix the testcase from bug 185431 comment 33 ?
The platform bits from Bug 1034110 should be reusable in DOMi if it's using a MutationObserver. Then it would need to add nativeAnonymousChildList to the MutationObserverInit options, and treat that mutation similarly to a childList.
Flags: needinfo?(bgrinstead)
Comment 3•9 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #2)
> (In reply to :Gijs Kruitbosch from comment #1)
> > Brian, will this also fix the testcase from bug 185431 comment 33 ?
>
> The platform bits from Bug 1034110 should be reusable in DOMi if it's using
> a MutationObserver. Then it would need to add nativeAnonymousChildList to
> the MutationObserverInit options, and treat that mutation similarly to a
> childList.
Right, but the person who posted that testcase *actually* cares about Firefox's devtools Inspector instead of DOMI and just got confused about which bug they wanted... I'm asking if this frontend bit will fix this in inspector.
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #3)
> (In reply to Brian Grinstead [:bgrins] from comment #2)
> > (In reply to :Gijs Kruitbosch from comment #1)
> > > Brian, will this also fix the testcase from bug 185431 comment 33 ?
> >
> > The platform bits from Bug 1034110 should be reusable in DOMi if it's using
> > a MutationObserver. Then it would need to add nativeAnonymousChildList to
> > the MutationObserverInit options, and treat that mutation similarly to a
> > childList.
>
> Right, but the person who posted that testcase *actually* cares about
> Firefox's devtools Inspector instead of DOMI and just got confused about
> which bug they wanted... I'm asking if this frontend bit will fix this in
> inspector.
Ah, yeah this bug is to fix this in the DevTools frontend
Assignee | ||
Comment 5•9 years ago
|
||
Comment 7•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•