Closed Bug 1024 Opened 26 years ago Closed 26 years ago

Modifying style.top actually modifies style.left

Categories

(Core :: Layout, defect, P2)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: buster)

Details

Attachments

(4 obsolete files)

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.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
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
Status: RESOLVED → VERIFIED
Verified fixed in Dec3a, foo is moved down on mousedown...nice thing too is IE4 fails completely :-)
Attached file Modifying style.top actually modifies style.left (obsolete) (deleted) —
Attached file Adjust crontab Jobs for Daylight Savings Time (obsolete) (deleted) —
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.

Attachment

General

Creator:
Created:
Updated:
Size: