Closed Bug 256879 Opened 20 years ago Closed 20 years ago

main window scrollbar causes absolute media content position to indent

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 72540

People

(Reporter: smann, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.8 I've verified this in Netscape 7.1 and Firefox 0.9. A centered block of html with whitespace margins has its upper-left corner at a certain (x,y) position depending on how wide the html block is. This block doesn't go off the bottom of the screen so no scrollbar is required nor rendered. However, when an html block with the exact same width but greater height is loaded and the scrollbar is rendered the given upper-left corner coordinates of that html block are changed. I checked IE and it has no similar problem. Perhaps one wouldn't consider this a bug since its mostly aesthetic. In my personal opinion this behaviour is a problem and should be fixed. Reproducible: Always Steps to Reproduce: 1. Load a centered block of html with a certain width and a height that doesn't require a scrollbar to view all of the content. 2. Load a second block of html with the exact same width as the first but a height that requires a scrollbar to view the rest of the content. 3. FLip back and forth between the two. You'll notice an x,y difference of the upper-left corner of each block of html. Expected Results: Instead of changing the given x,y position of the upper-left corner of the two html blocks it should remain the same.
Note that when IE doesn't need a scrollbar it still draws it... That's the only difference between the IE behavior and the Mozilla one, in fact. *** This bug has been marked as a duplicate of 72540 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.