Closed
Bug 695121
Opened 14 years ago
Closed 14 years ago
Auto scroll does not work on https://beta.mozillalabs.com/en-US/
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: sdrocking, Assigned: Swatinem)
References
Details
(Keywords: regression)
Attachments
(2 files)
|
227 bytes,
text/html
|
Details | |
|
1.89 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0a1) Gecko/20111017 Firefox/10.0a1
Build ID: 20111017031010
Actual results:
Auto-scrolling doesn't work in Firefox but works in Chrome.
Also middle click to scroll doesn't work.
Updated•14 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
QA Contact: general → layout
Hardware: x86 → All
Comment 1•14 years ago
|
||
Why is this a layout issue, exactly?
Comment 2•14 years ago
|
||
Same behavior in Aurora:
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0a2) Gecko/20111017 Firefox/9.0a2
Build ID: 20111017042016
Comment 3•14 years ago
|
||
We sure this is not a site issue ? It does not scroll in 7.0.1 on XP SP3 either...
STR.
1. Visit link/site
2. middle click to activate scrolling in Windows
3. Page does not scroll.
Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Comment 4•14 years ago
|
||
Confirmed. Didn't work on Firefox 10 neither in the version 8 beta 3. Works perfectly on IE9 and Chrome14.
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
Regression window(m-c),
Works:
http://hg.mozilla.org/mozilla-central/rev/bfe41dab22a5
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a2pre) Gecko/20100218 Minefield/3.7a2pre ID:20100218120751
Fails:
http://hg.mozilla.org/mozilla-central/rev/78cf81cafcff
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a2pre) Gecko/20100219 Minefield/3.7a2pre ID:20100219043233
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bfe41dab22a5&tochange=78cf81cafcff
Comment 7•14 years ago
|
||
Auto Scrolls if you middle click in the vertical scroll-bar
just my 2 cents
Updated•14 years ago
|
Blocks: 545970
Component: Layout → XUL Widgets
Keywords: regression
OS: Windows 7 → All
Product: Core → Toolkit
QA Contact: layout → xul.widgets
Comment 8•14 years ago
|
||
WORKAROUND: append the following css to userContent.css
body{ border:none !important; }
| Assignee | ||
Comment 9•14 years ago
|
||
<body> needs to be excluded from overflow-based autoscroll since it does not allow .scrollTop to be set. I will work up a patch later today.
Assignee: nobody → arpad.borsos
Status: NEW → ASSIGNED
| Assignee | ||
Comment 10•14 years ago
|
||
Attachment #567754 -
Flags: review?(neil)
Comment 11•14 years ago
|
||
(In reply to Arpad Borsos from comment #9)
> <body> needs to be excluded from overflow-based autoscroll since it does not
> allow .scrollTop to be set.
Actually it's a little more complicated than that.
In quirks mode, document.body.scrollTop == window.scrollY while document.document.scrollTop is always zero.
In strict mode, document.documentElement.scrollTop == window.scrollY while document.body.scrollTop is always zero.
Fortunately the patch is able to ignore this by using the window methods instead of trying to work out whether to use the document element or body.
Updated•14 years ago
|
Attachment #567754 -
Flags: review?(neil) → review+
| Assignee | ||
Comment 12•14 years ago
|
||
Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/1e67f08f9a08
Thanks and sorry for the delay.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 13•14 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1e67f08f9a08
please, don't mark bugs as fixed till they reach mozilla-central.
Target Milestone: --- → mozilla10
You need to log in
before you can comment on or make changes to this bug.
Description
•