Closed
Bug 199706
Opened 21 years ago
Closed 19 years ago
Useless vertical scrollbar created in span with fixed position and overflow: auto set
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzilla, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312 In a SPAN with width 600 pixels and height 400 pixels, a vertical scrollbar was added to the span, even though the contents of the span did not require a scrollbar. "overflow: auto;" was set for the span. According to W3C specifications for CSS2, it is up to the User Agent to determine what to do if an overflow occurs (but should have scrollbars). http://www.w3.org/TR/REC-CSS2/visufx.html#overflow-clipping In this case, because there is no overflow, there should be no vertical scrollbar. This would be consistent with the decision in bug 72540. Interesting note: WFM Phoenix 0.5 20030111 (built off Mozilla 1.3a) Reproducible: Always Steps to Reproduce: 1. Go to the URL provided. 2. Observe the main content panel. It has a vertical scroll bar. 3. Actual Results: A vertical scroll bar appeared in the main content SPAN. Expected Results: No vertical scroll bar should have appeared. I will attach the files that I have for this particular test case, in case my IP changes again or I am off-line. I will also attach screenshots of the problem
Reporter | ||
Comment 1•21 years ago
|
||
This image shows the unnessecary scrollbar added to the span.
Reporter | ||
Comment 2•21 years ago
|
||
A correct rendering from Phoenix 0.5 on Linux. No unnessecary vertical scrollbar. 20030111 build
Comment 3•21 years ago
|
||
Confirmed in Win XP 2003102804 (trunk). Over to Views & Rendering.
Assignee: other → roc
Status: UNCONFIRMED → NEW
Component: Layout → Layout: View Rendering
Ever confirmed: true
Summary: Useless vertical scrollbar created in span with fixed position and overflow: auto set → Useless vertical scrollbar created in span with fixed position and overflow: auto set
Not views, although I'm not sure what it is -- that depends what's contributing to the overflow area.
Assignee: roc → other
Component: Layout: View Rendering → Layout
Comment 5•20 years ago
|
||
Is this still an issue? The page worksforme....
Reporter | ||
Comment 6•20 years ago
|
||
Still an issue. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Comment 7•20 years ago
|
||
Paul, please note that Firefox 0.8 is using a Gecko version from _November_. I was testing with a mid-February build in comment 5. A lot has changed in between in the relevant code. So could you please retest with a current build?
Comment 8•20 years ago
|
||
> Gecko/20040206 Firefox/0.8
That is not november? That is a month ago. I see the problem as well: 20040309,
WinXP.
OS: Windows 98 → All
Comment 9•20 years ago
|
||
> > Gecko/20040206 Firefox/0.8 > That is not november? That is a month ago. It forked off the Gecko trunk in November. It was compiled on Feb 6. Doesn't mean it picked up any of the trunk changes that happened in 1.7a. This still worksforme with a Linux trunk 2004-03-09-08 build. Is this a Windows-only issue? If so, why was the OS changed to all?
Comment 10•20 years ago
|
||
> This still worksforme with a Linux trunk 2004-03-09-08 build. Is this a > Windows-only issue? If so, why was the OS changed to all? Back to 98. Bugzilla needs a "OS: 'Windows'". There are a lot of overflow issues though, so this is probably a duplicate. Now I'm looking at the code, isn't this bug just invalid: > span#content { position: absolute; left: 145px; top: 210px; width: 600px; > height: 400px; overflow: auto; color: #000000; font: 14pt/16pt Georgia, > sans-serif;} (I didn't see any 'span{display:block}' declarations.)
OS: All → Windows 98
Comment 11•20 years ago
|
||
> (I didn't see any 'span{display:block}' declarations.) position:absolute implies display:block in this case. See http://www.w3.org/TR/2004/CR-CSS21-20040225/visuren.html#dis-pos-flo
Reporter | ||
Comment 12•20 years ago
|
||
As Anne van kesteren noted in comment 8 , I see it in a very recent build. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040309 Firefox/0.8
Comment 13•19 years ago
|
||
WFM, Mozilla 2005-03-06-05 trunk Windows XP WFM, Mozilla 2005-03-04-05 trunk Linux Is anyone else still seeing this in recent trunk builds?
Comment 14•19 years ago
|
||
WFM in: |Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050220|
Comment 15•19 years ago
|
||
-> WORKSFORME
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•