Closed Bug 172227 Opened 23 years ago Closed 23 years ago

use of scroll bar on scrolling div makes content unreadable

Categories

(Core :: Web Painting, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: harvested_from_mozilla4, Assigned: roc)

References

()

Details

(Keywords: regression)

Attachments

(3 files)

The page at http://www.lynuxworks.com/products/lynxos/lynxos07.php3 has a small navigation menu contained within a scrolling <div> on the right side of the page. If you try to use the scroll bar to reveal the hidden content in the <div>, the content is smeared and unreadable. Perhaps the content is being drawn on top of itself as the scrolling takes place.
What build ID?
Assignee: dbaron → roc+moz
Component: Style System → Views
QA Contact: ian → petersen
Oh, this was build 2002100204 on Win 98.
Attached image Screenshot
Confirming bug, 2002-10-02-08 trunk Linux
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Is this a regression? If so, what's the last known working build? Could you provide a simplified testcase?
Yes, it's a regression, which probably happened within the last week, possibly even in today or yesterday's builds. I didn't notice the problem while using that site with the build I downloaded 24 hours earlier, though perhaps it was already broken and I simply didn't try scrolling one of those menus.
Also happens when you click "Edit" on a Patch attachment in Bugzilla, e.g.: http://bugzilla.mozilla.org/attachment.cgi?id=100810&action=edit
Severity: normal → major
Keywords: regression
*** Bug 172548 has been marked as a duplicate of this bug. ***
OK, so the problem is that the view sync code made a bogus optimization. When the NS_FRAME_OUTSIDE_CHILDREN flag gets turned on we need to mark the view transparent, but we weren't going into the transparency-calculation path at all unless the view bounds changed and clipping was active --- neither of which holds in this case. So we need to just disable that bogus optimization. Patch coming up.
Comment on attachment 101873 [details] [diff] [review] fix r=dbaron, except could you line-wrap this comment at a width less than 80 characters? >+ // Even if the size hasn't changed, we need to sync up the geometry dependent properties, because >+ // (kidState & NS_FRAME_OUTSIDE_CHILDREN) might have changed, and we can't detect whether it has >+ // or not. Likewise, whether the view size has changed or not, we may need to change the transparency >+ // state even if there is no clip.
Attachment #101873 - Flags: review+
*** Bug 173020 has been marked as a duplicate of this bug. ***
Comment on attachment 101873 [details] [diff] [review] fix sr=kin@netscape.com with dbaron's line wrap request ... can you also re-wrap the 2 pre-existing comment blocks in that same method too?
Attachment #101873 - Flags: superreview+
sure, will do. thanks!
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Attached file Testcase
With build 2002123008, Windows XP bug is again visible. See attached testcase to confirm please.
The testcase in duped bug 173020 also shows the black background. The URL:s attached to this bug does not though. Can also be seen on resource:///res/samples/test12.html make window smaller so scrollbar appears and then scroll --> black background
I can see this with Moz20021222/Linux too.
Flags: blocking1.3b?
FYI: Bug 187503 was opened for the new issue.
Flags: blocking1.3b?
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: