layout.display-list.show-rebuild-area does not work with WebRender

RESOLVED FIXED in Firefox 65

Status

()

defect
P2
normal
RESOLVED FIXED
Last year
8 months ago

People

(Reporter: mstange, Assigned: mattwoodrow)

Tracking

(Blocks 1 bug)

Trunk
mozilla65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

If you go to about:config and add a boolean pref with the name layout.display-list.show-rebuild-area and set it to true, and then go to http://news.ycombinator.com/ and hover over the comments links, you should only see blue boxes over those links and not over the entire page.

With WebRender on, the entire page stays blue.

Note that when you're on Mac, you have to disable overlay scrollbars in the system preferences, otherwise you won't get retained display lists.
Blocks: stage-wr-next
No longer blocks: stage-wr-trains
Just debugged this, it's because nsDisplaySolidColor::CreateWebRenderCommands uses the paint rect instead of the bounds.

Paint rect is just the display list building area with WR (and is the intersection of the item bounds, building rect and invalid rect with non-WR), so that's much bigger than needed.

So we're just drawing the blue boxes much bigger than we're supposed to be, RDL seems to be working fine.
MozReview-Commit-ID: Gp5C4v8qJXI
Assignee: nobody → matt.woodrow
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8e32d7856fd8
Use correct bounds for WR solid color. r=miko
https://hg.mozilla.org/mozilla-central/rev/8e32d7856fd8
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.