Closed Bug 528796 Opened 16 years ago Closed 16 years ago

nsIBoxObject::GetScreenX/Y returns device pixels, not css pixels

Categories

(Core :: Layout, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: db48x, Assigned: db48x)

References

Details

Attachments

(1 file, 1 obsolete file)

That could be by design, but I doubt it since ::GetX/Y/Width/Height all return CSS pixels.
Attached patch bug528796-1.diff (obsolete) — Splinter Review
Assignee: nobody → db48x
Status: NEW → ASSIGNED
Attachment #412464 - Flags: review?(roc)
I haven't checked for tests yet, but it's time for my nap
Hmm ... I don't think we should change this, actually. This interface is deprecated anyway, it doesn't seem worth the risk.
mmm, this fixes the tab drag and drop bug that causes dropped tabs to be inserted into the wrong place in the tab strip.
it does break one test, according to the tryserver: test_popup_scaled.xul
Attached patch bug528796-2.diffSplinter Review
fixes the test
Attachment #412464 - Attachment is obsolete: true
Attachment #412913 - Flags: review?(roc)
Thanks roc. fixed.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Depends on: 579492
No longer blocks: 650241
Depends on: 650241
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: