Open
Bug 787417
Opened 12 years ago
Updated 2 years ago
ShouldPrerender() check should be based on area, not dimensions
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: cjones, Unassigned)
References
Details
(Whiteboard: [tech-p2])
The check boils down to
if (frameSize <= refSize) {
but that's kind of broken: I think I intended for this to be a check of area, but the <= operator does
width <= aSize.width && height <= aSize.height;
Which means that a 1 x screen.height + \epsilon frame, e.g., wouldn't be prerendered. That's silly.
Reporter | ||
Comment 1•12 years ago
|
||
Vivien: I think Ian may have worked around this bug in the radio app. If so, please tell him I'm sorry and we're fixing this! :)
Reporter | ||
Updated•12 years ago
|
Blocks: b2g-v-next
Reporter | ||
Comment 2•12 years ago
|
||
Small issue with nice perf win that's come up in important content, like the FM radio app.
Whiteboard: [tech-p2]
Comment 3•12 years ago
|
||
We should just change this to account for scaling.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•