User:Dbaron/Readability: Difference between revisions

(Created page with "The Fennec readability project can be broken down into the following engineering tasks: # Implement back end code for font size inflation {{bug|62...")
 
Line 9: Line 9:
== Font size inflation ==
== Font size inflation ==


(owner: [[User:Dbaron|dbaron]])
{{bug|627842}}, owner: [[User:Dbaron|dbaron]]
 
Design tasks to do:
* figure out what the right configuration parameters are (min desired font size (what units?) vs. desired minimum ratio of font size to screen width)
* figure out what layout invariants need to change in order to have different font sizes pre-reflow and during reflow (e.g., stuff with text runs)
* work through performance implications of what needs to be done, and figure out what needs caching
* figure out the right thresholds for triggering font size inflation
 
Development tasks to do:
* ensure that all callers that need the font size inflation are either within reflow or safely outside of reflow, ''or'' cache the font size inflation during reflow if we're going to end up needing it during reflow of siblings/ancestors (though we might need to do this anyway)
* do reflow and painting using the inflated font sizes
* ensure we mark things dirty when the inflation thresholds are crossed (e.g., if there are text size thresholds)


== Line length limiting back end ==
== Line length limiting back end ==
canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,334

edits