Closed
Bug 11660
Opened 25 years ago
Closed 24 years ago
Clip should apply to child views
Categories
(Core :: Web Painting, defect, P2)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: troy, Assigned: kmcclusk)
References
Details
(Keywords: css2)
Attachments
(2 files)
The "clip" that can be specified for a view should apply to the child views, i.e. those child views outside of the clip rect should be clipped The clip rect is optional, because it's usage by layout depends on the 'overflow' property. The default value is 'visible' which means that child elements that extend outside their parent are visible. A value of 'hidden' means that child elements that extend outside the parent are clipped
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: M10
Updated•25 years ago
|
Target Milestone: M10 → M11
Updated•25 years ago
|
Target Milestone: M11 → M12
Comment 1•25 years ago
|
||
This is a feature bug. Probably not urgent, given that bug #10915 is in M13. Deferring to M12.
Updated•25 years ago
|
QA Contact: beppe → paulmac
Updated•25 years ago
|
Target Milestone: M12 → M13
Comment 2•25 years ago
|
||
On the other hand, child views may always be getting clipped to parent views by the compositor. This should only happen if a clip rect is specified?
Yes, clipping of child views should only happen if a clip rect is specified. If no clip rect is specified, then the child views should be allowed to extend outside of their parent and they should be visible and paint and get events We rely on this behavior in layout, because that's the way CSS2 visibility works
Updated•25 years ago
|
Target Milestone: M13 → M15
*** Bug 27602 has been marked as a duplicate of this bug. ***
*** Bug 27735 has been marked as a duplicate of this bug. ***
Comment 6•25 years ago
|
||
So a container is not a container by default? This will break a million pages. A parent-container SHOULD clip it childern BY DEFAULT. Otherwise, there is precious little point to it's parent status. A container should "contain" - rather than simply be loosly associated with - it's children.
Comment 8•25 years ago
|
||
Here's the right way to fix this: we need to build a more persistent display list, that we keep around, which caches clipping calculations, etc. We don't want to have to recompute this each time we draw.
*** Bug 30975 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 10•25 years ago
|
||
*** Bug 30974 has been marked as a duplicate of this bug. ***
Comment 11•24 years ago
|
||
This requires a tree walk over children when nsView::SetClip() is called. To do this efficiently will take some thought.
Assignee: beard → kmcclusk
Status: ASSIGNED → NEW
QA Contact: paulmac → petersen
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•24 years ago
|
||
Bulk moving to M16
Assignee | ||
Updated•24 years ago
|
Target Milestone: M15 → M16
Assignee | ||
Comment 13•24 years ago
|
||
Fixed in 4/13/2000 5:02 PM build. Filed bug 35791 to cover the case where the view has a widget.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
QA Contact: petersen → chrisd
Comment 14•24 years ago
|
||
As per meeting with ChrisD yesterday, taking QA.
QA Contact: chrisd → py8ieh=bugzilla
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
Comment 17•24 years ago
|
||
VERIFIED on Win2K Comm M18 trunk builds 2000090609 using testcase. Mac and Windows don't work well with clip. See bug 51678.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•