Modifying style.top actually modifies style.left

VERIFIED FIXED

Status

()

P2
normal
VERIFIED FIXED
20 years ago
12 years ago

People

(Reporter: angus, Assigned: buster)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 obsolete attachments)

(Reporter)

Description

20 years ago
Here's the test case:
<a href="foo"
onmousedown="this.style.position='relative'; this.style.top='10px'">Foo</a>

It should move the word "foo" down by 10 pixels when you mousedown on the link.
Instead, it moves the word "foo" to the right by ten pixels.

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED

Comment 1

20 years ago
Funny thing - I saw the same bug yesterday (Oct 7th) and fixed it in my tree...a
one letter tweak in layout/html/style/src/nsCSSLayout.cpp

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 2

20 years ago
Verified fixed in Dec3a, foo is moved down on mousedown...nice thing too is IE4
fails completely :-)

Comment 3

12 years ago
Created attachment 266881 [details]
Modifying style.top actually modifies style.left

Comment 4

12 years ago
Created attachment 266885 [details]
Adjust crontab Jobs for Daylight Savings Time

Comment 5

12 years ago
Created attachment 266886 [details]
ElementView remains focused after focus is no longer on any element.

Comment 6

12 years ago
Created attachment 266888 [details]
[[page|http://url/]] should link to page, not http://url/
The content of attachment 266881 [details] has been deleted by
    Reed Loden [:reed] <reed@mozilla.com>
who provided the following reason:

Spam for ringtone website

The token used to delete this attachment was generated at 2007-06-01 01:11:22 PDT.
The content of attachment 266885 [details] has been deleted by
    Reed Loden [:reed] <reed@mozilla.com>
who provided the following reason:

Spam for ringtone website

The token used to delete this attachment was generated at 2007-06-01 01:11:29 PDT.
The content of attachment 266886 [details] has been deleted by
    Reed Loden [:reed] <reed@mozilla.com>
who provided the following reason:

Spam for ringtone website

The token used to delete this attachment was generated at 2007-06-01 01:11:32 PDT.
The content of attachment 266888 [details] has been deleted by
    Reed Loden [:reed] <reed@mozilla.com>
who provided the following reason:

Spam for ringtone website

The token used to delete this attachment was generated at 2007-06-01 01:11:35 PDT.
You need to log in before you can comment on or make changes to this bug.