Closed
Bug 1149073
Opened 9 years ago
Closed 9 years ago
[UX] Transitioning the Font Size when changing Style in Reader View
Categories
(Firefox Graveyard :: Reading List, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: designakt, Assigned: bwinton)
Details
Attachments
(1 file)
1.79 KB,
patch
|
Details | Diff | Splinter Review |
How about changing the font size also with a small transition? Michael, what do you think? To test add this css to aboutReader.css in Style Editor: html{ transition: font-size 0.3s linear; }
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(mmaslaney)
I believe Blake is working on this one. I think he is using: transition: font-size: 0.4s ease-in
Flags: needinfo?(mmaslaney) → needinfo?(bwinton)
Assignee | ||
Comment 2•9 years ago
|
||
Yep, I've got a patch that I'll post when I get a chance… :)
Flags: needinfo?(bwinton)
Assignee | ||
Comment 3•9 years ago
|
||
There is a build with this enabled at https://dl.dropboxusercontent.com/u/2301433/Firefox/Reading/Transitions.dmg Let me know if there's anything I can change to make the patch better! :)
Assignee: nobody → bwinton
Status: NEW → ASSIGNED
Attachment #8585826 -
Flags: ui-review?(mjaritz)
Attachment #8585826 -
Flags: review?(bmcbride)
Comment 4•9 years ago
|
||
Comment on attachment 8585826 [details] [diff] [review] The first cut at the patch. Review of attachment 8585826 [details] [diff] [review]: ----------------------------------------------------------------- So... code wise this is all good, but I'm really concerned about how this will perform on a reasonably sized article on a low-end machine (like the Asus T100 I've mentioned previously). In theory Gecko should automagically make it not awful, even if it's not perfect. But I'm going to hold off on r+ until that's been tested.
Attachment #8585826 -
Flags: review?(bmcbride)
Reporter | ||
Comment 5•9 years ago
|
||
I like that the font does not jump to a new size anymore. But waiting 0.4s to see if this is the right font size might feel long. How about 0.1s linear 0.1s is enough to see the animation, but still feel very quick. And liner might improve performance a little as no easing-curve needs to be calculated, and it is not noticeable on such a short transition.
Assignee | ||
Comment 6•9 years ago
|
||
Markus: I just asked the perf people, and they say that there's no difference between linear and ease-in-out. Blair: I'm going to try to implement some of their suggestions on a NetBook, to see how janky the animation is, and will report back.
Reporter | ||
Comment 7•9 years ago
|
||
Great. Thanks for checking. I couldn't find anything on a quick web-search. Then I am fine with both.
Assignee | ||
Comment 8•9 years ago
|
||
So, it's really pretty janky on the netbook I tested on. Like, "3 frames of animation over the .4 seconds" kind of jank. Mostly because we're re-flowing the entire page on every frame. So the recommendation from both them and I is to not add this feature. Would you mind marking the bug "WONTFIX", Markus?
Reporter | ||
Comment 9•9 years ago
|
||
Is it also bad with a shorter animation?
Assignee | ||
Comment 10•9 years ago
|
||
I think so, yeah. At most we would get one frame of animation, and it doesn't start until after the next repaint after you click the button, so it seems slower and jankier than we want. It's also fairly expensive to re-lay-out the entire page on each frame of the animation, which we would need to do because the text size is changing, and the line breaks are at different places…
Reporter | ||
Comment 11•9 years ago
|
||
Got it.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Reporter | ||
Updated•9 years ago
|
Attachment #8585826 -
Flags: ui-review?(mjaritz)
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•