Closed Bug 1268410 Opened 4 years ago Closed 4 years ago

Change the default value of "layout.accessiblecaret.timeout_ms" to 0

Categories

(Core :: DOM: Selection, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Hiding the caret in cursor mode after three seconds is a b2g spec. I'd like to make the caret persist by default in all platforms, which is a least surprise behavior. Firefox Android does this, too.
That is, the single caret in cursor mode will always persist on all
platforms as on Firefox Android.

Review commit: https://reviewboard.mozilla.org/r/49445/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/49445/
Attachment #8746510 - Flags: review?(mats)
Comment on attachment 8746510 [details]
MozReview Request: Bug 1268410 - Change the default value of "layout.accessiblecaret.timeout_ms" to 0.

https://reviewboard.mozilla.org/r/49445/#review46291
Attachment #8746510 - Flags: review?(mats) → review+
https://hg.mozilla.org/mozilla-central/rev/414529119026
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Hiding the cursor on Firefox for Android was a CPU usage/battery win. I don't think we want to revert this.
Flags: needinfo?(snorp)
Kevin, perhaps you're thinking of the blinking text input caret?
I don't see why the non-animated "layout.accessiblecaret" selection carets
should consume any CPU.
Flags: needinfo?(kbrosnan)
I was. Sorry.
Flags: needinfo?(snorp)
Flags: needinfo?(kbrosnan)
You need to log in before you can comment on or make changes to this bug.