Open
Bug 1518055
Opened 5 years ago
Updated 2 years ago
Cache nsIFrames selected state when possible
Categories
(Core :: DOM: Selection, enhancement, P2)
Core
DOM: Selection
Tracking
()
NEW
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
Attachments
(2 obsolete files)
No description provided.
Assignee | ||
Comment 1•5 years ago
|
||
It would be nicer to keep the flags in nsIFrame only, but it has only one spare bit. So the patch doesn't cache the state per textframe but per node, if it has only one frame. This relies on Selection (SelectFrames()) and nsRange (InvalidateAllFrames()) to call InvalidateFrameSubtree on the common ancestor. (slow selection painting is different bug, bug 1518052)
Attachment #9034638 -
Flags: feedback?(mats)
Assignee | ||
Comment 2•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=af6810cac5e2350534021c1a018de951d4b3dc11
Updated•5 years ago
|
Priority: -- → P2
Assignee | ||
Comment 3•5 years ago
|
||
Comment on attachment 9034638 [details] [diff] [review] selection_flag_cache_4.diff Crap, bug 1305957 used the last free bit. Back to drawing board.
Attachment #9034638 -
Flags: feedback?(mats)
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Attachment #9034638 -
Attachment is obsolete: true
Assignee | ||
Updated•5 years ago
|
Attachment #9039640 -
Attachment is obsolete: true
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•