Closed Bug 1749576 Opened 2 years ago Closed 2 years ago

Simplify / compact what Document.getWireframe returns

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(1 file)

There's a bit of simplifying we could do here:

  1. Stop returning "unknown" type rects.
  2. Store the colors on the WireframeTaggedRect not as a DOMString, but as an uint32_t (nsColor) instead.
  3. Have a minimum rect area, and don't include rects that don't meet that threshold

There might be some more optimizations we could do, but these are the first that come to mind.

Assignee: nobody → mconley
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5fe456d35c71
Make the wireframe structure more space efficient and add a versioning member. r=emilio
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: