Closed Bug 142461 Opened 23 years ago Closed 23 years ago

overflow: hidden gets in the way

Categories

(Core :: Web Painting, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.1alpha

People

(Reporter: jc, Assigned: roc)

References

()

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc1) Gecko/20020417 BuildID: 2002041711 When an absolutely positioned div has the overflow property set to "hidden", the hidden part of the div is not displayed as expected, but any page content behind that hidden part is not rendered as well. Reproducible: Always Steps to Reproduce: Open http://manoli.net/wot/ Actual Results: The first <h1> paragraph "Personal Certificates for Web and Mail" is not displayed, and the first image is truncated. Expected Results: The <h1> paragraph should be displayed and the image should not be truncated.
Confirmed on Linux as well. Raising severity, since this is a fairly common thing to do with positioned content....
Assignee: attinasi → kmcclusk
Severity: normal → major
Status: UNCONFIRMED → NEW
Component: Layout → Views
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Definitely mine.
Assignee: kmcclusk → roc+moz
Attached patch FixSplinter Review
Need to generalize the test for whether part of a view is being clipped out and therefore the view should be marked transparent. It needs to be checked on both "clip:" and "overflow: hidden". (The "overflow: hidden" case matters when the view is larger than its frame.)
CCing review buddies
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.1alpha
Comment on attachment 85717 [details] [diff] [review] Fix sr=waterson
Attachment #85717 - Flags: superreview+
Fix checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
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: