Closed Bug 1523335 Opened 5 years ago Closed 5 years ago

Make use of parentFlexElement in Flexbox inspector (server and client)

Categories

(DevTools :: Inspector, enhancement, P2)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: miker, Assigned: miker)

References

Details

Attachments

(1 file)

Search for function findFlexOrGridParentContainerForNode and most of those methods would be much more performant if they made use of getFlexParent().

Component: CSS Parsing and Computation → Inspector
Product: Core → DevTools
Summary: Make use of getFlexParent() in Flexbox inspector (server and client) → Make use of parentFlexElement in Flexbox inspector (server and client)

This gives a very noticeable increase in speed. When Brad finishes https://bugzil.la/1523336 we can stop walking the DOM and simply use parentFlexElement and parentGridElement.

Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bdef8bbcf493
Make use of parentFlexElement in Flexbox inspector r=pbro
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Flags: needinfo?(mratcliffe)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: