Closed Bug 1077750 Opened 10 years ago Closed 9 years ago

::before and ::after pseudo elements in the tree do not change on dynamic style changes

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1208544

People

(Reporter: striptm, Unassigned)

References

Details

Attachments

(1 file)

The ::before and ::after pseudo elements in the tree is only calculated for the first time. For example, when dynamically vía javascript changing styles, or the DOM/style are modified directly from the devtools it is not detected and does not show the reality.
Attachment #8499918 - Attachment description: Toggle button to add / modify :after :befor pseudo elements → Toggle button to add / modify :after :before pseudo elements
We need a way to detect mutations on these elements (MutationObservers do not notify us when they change). I've filed Bug 1034110 for this
Depends on: 1034110
Depends on: 920141
OS: Linux → All
Hardware: x86_64 → All
Depends on: 1208544
This is fixed by Bug 1208544
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: