Closed Bug 773730 Opened 13 years ago Closed 13 years ago

Set all styles for text selection handles in one call

Categories

(Firefox for Android Graveyard :: Text Selection, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
We want to minimize our element.style calls. Also, we don't need to always be adjusting the height/width of the handles if the zoom didn't change. Is using cssText like this the right way to do this? I'm appending the new values because I don't want to pave over all the other styles on the handles.
Attachment #641965 - Flags: review?(mark.finkle)
Comment on attachment 641965 [details] [diff] [review] patch OK, let's try this. We also need to look at using nsIDOMWindowUtil.getScrollPos instead of this._view.scrollX / Y We also should make a local var for places where we request this._view.scrollX / Y more than once in a function.
Attachment #641965 - Flags: review?(mark.finkle) → review+
Blocks: 767070
No longer blocks: text-selection
Target Milestone: --- → Firefox 16
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 774798
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: