Closed
Bug 498257
Opened 16 years ago
Closed 16 years ago
video element below bottom of viewport causes overlong scrollbar
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 498593
People
(Reporter: kinetik, Unassigned)
References
()
Details
Attachments
(1 file)
|
254 bytes,
text/html
|
Details |
I noticed this in a wild at the above URL. A simple testcase is attached, you may need to add more <br>s to cause the <video> element to end below the viewport. As written, it works for me with a 900 pixel tall viewport. Note that the width/height and background colour aren't necessary to reproduce, but make it easy to swap out for an <img> (where the problem doesn't occur).
| Reporter | ||
Comment 1•16 years ago
|
||
Note that with my testcase, the scrollbar only moves as far as the visible document. With the original bug URL, it moves beyond the end of the scrollbar trough. And on one reload of the original URL, the scrollbar was fine, maybe affected by incremental layout?
| Reporter | ||
Comment 2•16 years ago
|
||
I saw this happen at a page that doesn't contain a video element: http://community.livejournal.com/evan_tech/263952.html (the bug doesn't seem to happen very often on that page, so it's not a very good testcase).
I also tested the attached testcase on Windows 7 with a nightly build and saw similar behaviour, so it's not a Mac-only problem.
Debugging it on my Mac a little, it turns out that when the scrollbar is rendered incorrectly with the attached testcase, nsNativeThemeCocoa::GetScrollbarDrawInfo is using the default value for maxpos because the attribute isn't been set on the element.
Component: Video/Audio → Layout
OS: Mac OS X → All
QA Contact: video.audio → layout
| Reporter | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•