Open
Bug 1007533
Opened 10 years ago
Updated 2 years ago
CSS coverage tool should track dynamically added stylesheets
Categories
(DevTools :: Style Editor, defect, P3)
DevTools
Style Editor
Tracking
(Not tracked)
NEW
People
(Reporter: jwalker, Unassigned)
Details
No description provided.
Comment 1•10 years ago
|
||
I started to work on tracking added/removed stylesheets in bug 922146. Ultimately, emitting events about added/removed/changed stylesheets and added/removed/changed rules should be the job of the layout-related actors in toolkit/devtools/server/actors/layout.js, being delivered in bug 997198. I had started to put that in place in bug 997198 attachment 8414432 [details] [diff] [review] but removed the code since then as it wasn't used yet.
Reporter | ||
Comment 2•10 years ago
|
||
From IRC: <jwalker> is the reflow actor still the best way to be notified of added stylesheets? <jwalker> it seems to me that it's possible that a stylesheet could be added that doesn't cause a reflow <pbrosset> jwalker: no I think we need to create a StyleSheetsObserver in layout.js, similar to the ReflowObserver <pbrosset> and we need to make LayoutChangesObserver aware of it <pbrosset> ultimately, LayoutChangesObserver should know about all sorts of layout-related changes <pbrosset> that was my original goal but I only needed to track reflows at the time <jwalker> ok, makes sense <pbrosset> bug 997198 attachment 8414432 [details] [diff] [review] does have some code for this <firebot> https://bugzil.la/997198 — FIXED, pbrosset — Create a reflow actor <pbrosset> (one of the obsolete attachements)
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•