Regression: layerX/Y seem to start from (1,1) in FF1.5 instead of (0,0) as in FF1.0

RESOLVED WORKSFORME

Status

()

Core
Layout
--
major
RESOLVED WORKSFORME
12 years ago
12 years ago

People

(Reporter: Beau Hartshorne, Unassigned)

Tracking

({regression})

1.8 Branch
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

On the attached reduction, you'll see that Firefox 1.0 calculates layerX/Y to be the same as pageX/Y or clientX/Y, while Firefox 1.5 calculates layerX/Y to be pageX/Y + (1,1).

Related bugs: 321119, 290428, and 296036.

Reproducible: Always

Steps to Reproduce:
1. Look at the layerX and pageX properties from any mouse event, and you'll see they're different.
Actual Results:  
layerX != pageX on the attached reduction.

Expected Results:  
layerX == pageX on the attached reduction.
(Reporter)

Updated

12 years ago
Version: unspecified → 1.5 Branch
(Reporter)

Comment 1

12 years ago
Created attachment 208831 [details]
HTML reduction (layerXY.html)
Keywords: regression
Ok, so as mentioned on #developers:

1) the 1.7 (Firefox 1.0) -> 1.8 (Firefox 1.5) change that introduced the bug was the patch from bug 290428
2) the 1.8 -> trunk change that fixed the bug was the patch in bug 296036

This means this bug is fixed for Firefox 3. As such, marking WFM.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: 1.5 Branch → 1.8 Branch
You need to log in before you can comment on or make changes to this bug.