Open Bug 1683287 Opened 4 years ago Updated 4 years ago

Refactor restore logic for CSS Grid highlighter

Categories

(DevTools :: Inspector, task)

task

Tracking

(Fission Milestone:Future)

Fission Milestone Future

People

(Reporter: rcaliman, Unassigned)

References

Details

(Whiteboard: dt-fission-future)

Follow-up from Bug 1572652 where the CSS Grid highlighter logic has been refactored, but the logic for restoring an active highlighter on page refresh hasn't been updated to use the generic approach introduced for the Flexbox Highlighter in https://phabricator.services.mozilla.com/D97660

This work involves changing HighlightersOverlay._restorableHighlighters from a Map to an Array to support the fact that CSS Grid highlighters can have multiple instances, and updating the restoreFlexboxState() and restoreGridState() methods accordingly (or perhaps consolidating them into a generic one).

Whiteboard: dt-fission-m3-reserve

Tracking dt-fission-m3-reserve bugs for Fission MVP.

Fission Milestone: --- → MVP

Moving "dt-fission-m3-reserve" bugs to "dt-fission-future" because they don't block Fission MVP.

Fission Milestone: MVP → Future
Whiteboard: dt-fission-m3-reserve → dt-fission-future
You need to log in before you can comment on or make changes to this bug.