Closed Bug 787189 Opened 12 years ago Closed 12 years ago

Port |Bug 628695 - Make invalid form popup offset aware of the zoom level| to SeaMonkey

Categories

(SeaMonkey :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.15

People

(Reporter: philip.chee, Assigned: philip.chee)

References

Details

Attachments

(1 file)

Bug 626834 ported |Bug 624151 - Better positioning for the invalid form popup| to SeaMonkey. We should also port the dependencies.
Tested using attachment 474241 [details] from Bug 561636. >- var offset = style.direction == 'rtl' ? parseInt(style.paddingRight) + (Trailing whitespace removed) >+ offset = Math.round(offset * scale); I remember vaguely somewhere that Gecko does sub-pixel positioning for layouts so perhaps Math.round() might not be necessary?
Assignee: nobody → philip.chee
Status: NEW → ASSIGNED
Attachment #657310 - Flags: review?(neil)
Comment on attachment 657310 [details] [diff] [review] Patch v1.0 adjust to zoom level. I think the rounding is because the openPopup call takes integers.
Attachment #657310 - Flags: review?(neil) → review+
Severity: normal → trivial
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: