Make ScreenPixelToMillimeterX/Y return result in CSS pixels

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Eli Friedman, Assigned: Eli Friedman)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

11 years ago
Created attachment 274477 [details] [diff] [review]
Patch

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)

Updated

11 years ago
Attachment #274477 - Flags: review?(jwatt) → review+
Please comment on bug 370006 once comment 9 has been addressed.
Attachment #274477 - Flags: superreview?(roc) → superreview+
(Assignee)

Updated

11 years ago
Attachment #274477 - Flags: approval1.9?
Comment on attachment 274477 [details] [diff] [review]
Patch

a19=dbaron
Attachment #274477 - Flags: approval1.9? → approval1.9+
(Assignee)

Comment 3

11 years ago
Checked in.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.