Closed Bug 390161 Opened 17 years ago Closed 17 years ago

Make ScreenPixelToMillimeterX/Y return result in CSS pixels

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sharparrow1, Assigned: sharparrow1)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Per description; see bug 370006 comment 9.

Quick summary: from the SVG spec:
  // Size of a screen "pixel", which is the unit of size
  // returned to UI event handlers by the level 2 DOM.

In Gecko, for compatibility with web content, that's a CSS pixel, so we should be returning a result in CSS pixels here.
Attachment #274477 - Flags: superreview?(roc)
Attachment #274477 - Flags: review?(jwatt)
Attachment #274477 - Flags: review?(jwatt) → review+
Please comment on bug 370006 once comment 9 has been addressed.
Attachment #274477 - Flags: superreview?(roc) → superreview+
Attachment #274477 - Flags: approval1.9?
Comment on attachment 274477 [details] [diff] [review]
Patch

a19=dbaron
Attachment #274477 - Flags: approval1.9? → approval1.9+
Checked in.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: