Text selection handles should not zoom with page

NEW
Unassigned

Status

()

Core
Layout
3 years ago
3 years ago

People

(Reporter: wesj, Unassigned)

Tracking

Trunk
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Our native selection handles don't zoom with the page after a pinch zoom). It would be nice for the platform ones to not do so as well (although their positions will have to update as the page changes size. That ensure that they're big enough to tap zoomed out desktop pages.
(Reporter)

Updated

3 years ago
Blocks: 1065138
(Reporter)

Comment 1

3 years ago
Snorp, I know we've wanted this before. Any idea how we'd do it?
Flags: needinfo?(snorp)
There is some new position:fixed-like thing in development that will not zoom with the page. I can't for the life of me seem to find it, though. We could use that.

Kats, Chris, do you know what I'm talking about?
Flags: needinfo?(snorp)
Flags: needinfo?(chrislord.net)
Flags: needinfo?(bugmail.mozilla)

Comment 3

3 years ago
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #2)
> There is some new position:fixed-like thing in development that will not
> zoom with the page. I can't for the life of me seem to find it, though. We
> could use that.
> 
> Kats, Chris, do you know what I'm talking about?

This is news to me, but I'm keen to find out! Maybe mbrubeck knows too?
Flags: needinfo?(chrislord.net)
OK, the thing I was thinking about is called 'device-fixed'. Apparently it's supported on iOS and BB WebKit. I don't see any bugs about it, so I assume we do not intend to implement it yet.
Never heard of it.
Flags: needinfo?(bugmail.mozilla)
Nevermind, nobody implements it. There is just a dude writing about it here: http://www.quirksmode.org/blog/archives/2010/12/the_fifth_posit.html
Anyway, I want that.

Comment 8

3 years ago
I think someone on a bug once mentioned how to do this, maybe it was roc?
Flags: needinfo?(roc)

Updated

3 years ago
Component: Text Selection → Layout
Product: Firefox for Android → Core
You may be thinking of bug 1021527, specifically https://bugzilla.mozilla.org/show_bug.cgi?id=1021527#c10.

Making the caret immune to async zoom would require a new layer attribute, with supported from APZ and layout to expose it somehow.
Flags: needinfo?(roc)
You need to log in before you can comment on or make changes to this bug.