Closed
Bug 903902
Opened 11 years ago
Closed 11 years ago
[System] Remove unnecessary DEVICE_RATIO from window_manager.js
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:hd+, b2g-v1.1hd fixed)
People
(Reporter: gduan, Assigned: gduan)
Details
Attachments
(1 file)
Regression of bug 893710.
It's no necessary to multiply deviceRatio with iframe's width and height for screenshot in window_manager.js, so this bug is to remove it in case for any side effect and confusion.
Assignee | ||
Comment 1•11 years ago
|
||
This patch is to fix regression of bug 893710.
It's no necessary to multiply deviceRatio for iframe's offsetWidth and offsetHeight in css pixel.
I also took some screenshots with/without changes, the resolutions are the same.
Attachment #788741 -
Flags: review?(alive)
Assignee | ||
Comment 2•11 years ago
|
||
The iframe's offsetWidth and offsetHeight are already 320 and 533 in window_manager.js, so it should be unnecessary for window_manager.js.
blocking-b2g: --- → hd?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gduan
Updated•11 years ago
|
Attachment #788741 -
Flags: review?(alive) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Merge into v1.1.0hd,
https://github.com/mozilla-b2g/gaia/commit/1c771afe45c97616c4207fbe475e97739d460bf6
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
status-b2g-v1.1hd:
--- → fixed
Comment 5•11 years ago
|
||
[2013/10/21 Helix Testing]
Gaia: c829a2042594b6c3a4899ee27979799a0f301534
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID 20131015042201
Version 18.0
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•