Closed Bug 401904 Opened 17 years ago Closed 8 years ago

ScrollTop value 1px off after using scrollIntoView

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

See testcase which comes from bug 332246.
The first value should be 100, but in current trunk builds it's 101.

This regressed between 2007-02-06 and 2007-02-07:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-02-06+04&maxdate=2007-02-07+09&cvsroot=%2Fcvsroot
I guess a regression from bug 177805.
There is a mochitest in there that checks this, but is disaled for windows for this case. So as soon as this is fixed, the following mochitest should remove the windows test:
http://lxr.mozilla.org/seamonkey/source/content/html/content/test/test_bug332246.html
Attached is my findings from ie, chrome, Firefox Nigtly (In that order from LTR). The first value is 100 and I also tested as far back as Firefox 4 which the first value was also 100. I will close this as WFM. If this is not the proper functionality, please reopen.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: