Closed
Bug 715709
Opened 13 years ago
Closed 4 years ago
Rounded borders for active links
Categories
(Firefox for Android Graveyard :: General, defect, P5)
Tracking
(firefox11-)
RESOLVED
INCOMPLETE
Tracking | Status | |
---|---|---|
firefox11 | - | --- |
People
(Reporter: pcwalton, Assigned: gauthamilango)
Details
(Keywords: polish)
Attachments
(1 file)
51.19 KB,
image/png
|
Details |
The stock browser and iOS have awesome looking rounded borders for active links being tapped on. It'd be great if we could do the same.
Updated•13 years ago
|
tracking-firefox11:
--- → -
Comment 2•13 years ago
|
||
Ian - do we want to do this following our rounding guidelines?
Assignee: nobody → ibarlow
Comment 3•13 years ago
|
||
See attached specs. Let's add a 3px (based on mdpi) corner radius to selected links. Note that the selection should also extend roughly 2-3px beyond the left and right edges of the text, rather than stopping abruptly at the text edge as it does now.
Comment 4•13 years ago
|
||
Yes - looks much more polished.
Comment 5•13 years ago
|
||
Unassigning myself, this can be picked up by dev now :)
Assignee: ibarlow → nobody
Comment 6•13 years ago
|
||
Posting some thought for any contributors interested in grabbing this. Right now we style the links by setting them :active here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#2291
Then we style them active using css here (for gingerbread devices):
http://mxr.mozilla.org/mozilla-central/source/mobile/android/themes/core/gingerbread/content.css#342
and here for all others:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/themes/core/content.css
We'd need to find some CSS that gives us the appearance ibarlow asked for in both places, or find a new way to do tap highlighting. I played with this for a sec once using something like
-moz-outline: 3px solid (color);
-moz-outline-radius: 3px;
Which gives nice results sometimes (if you remove the rgba color bits so that it looks ok on multiline links. But sites do crazy stuff with links, and it doesn't necessarily work everywhere. We also wouldn't want to use that style on buttons, so I'd pull them into their own style.
We'll have to test on as many websites as you can to get an idea of all the different ways links are used. A small test page and just test out different styles on desktop would also work. I wonder if QA has something like that...
Updated•13 years ago
|
Whiteboard: [mentor=wesj][lang=css]
Comment 7•13 years ago
|
||
Gautham Ilango is interested in working on this bug.
Assignee: nobody → gauthamilango
Status: NEW → ASSIGNED
Updated•13 years ago
|
Whiteboard: [mentor=wesj][lang=css]
Comment 8•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•