Closed Bug 1509227 Opened 1 year ago Closed 1 year ago

Don't clear nsCharClipDisplayItem::mIsFrameSelected in RestoreState

Categories

(Core :: Web Painting, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

Details

Attachments

(1 file)

The selection state shouldn't ever change without an invalidation (required, since we need to know to actually repaint the text), so there's no need to discard it when we retain the item with RDL.
MozReview-Commit-ID: CmMDBlYzHyN

Depends on D12721
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c65a0f1862dd
Cache selection state with RDL. r=miko
https://hg.mozilla.org/mozilla-central/rev/c65a0f1862dd
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Assignee: nobody → matt.woodrow
You need to log in before you can comment on or make changes to this bug.