Closed Bug 1580636 Opened 5 years ago Closed 5 years ago

Inline Preview: Set left style before rendering

Categories

(DevTools :: Debugger, enhancement)

enhancement
Not set
normal

Tracking

(firefox70+ wontfix, firefox71 fixed)

RESOLVED FIXED
Firefox 71
Tracking Status
firefox70 + wontfix
firefox71 --- fixed

People

(Reporter: davidwalsh, Assigned: davidwalsh)

References

(Blocks 1 open bug)

Details

(Whiteboard: [debugger-mvp])

Attachments

(1 file)

When an inline preview doesn't yet exist, we inject the DOM element, then calculate the left property and move the DOM element.

We should get a perf boost by first calculating the left property, setting the left property, then injecting the DOM node.

Assignee: nobody → dwalsh
Blocks: dbg-71
Status: NEW → ASSIGNED
Whiteboard: [debugger-mvp]
Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7e276985276
Set inline preview left before injection r=jlast
Pushed by dwalsh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f86b0af282c4
Set inline preview left before injection r=jlast
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71
Flags: needinfo?(dwalsh)

[Tracking Requested - why for this release]: Performance regression if we decide to switch on Inline Preview for release.

Did this improve the perf problem? Do you want to request uplift?

Flags: needinfo?(dwalsh)

Hello Liz! This didn't have the impact we'd hoped so no need to uplift, imo.

Flags: needinfo?(dwalsh)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: