Closed Bug 265566 Opened 21 years ago Closed 20 years ago

Fixed-pos kids are not clipped by CSS clip

Categories

(Core :: Web Painting, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: roc)

References

()

Details

(Keywords: css2, testcase)

Attachments

(2 files)

This is a problem in current builds. The testcase at the URL is pretty self-explanatory....
Keywords: css2, testcase
Attached patch fixSplinter Review
*sigh* I'm a bit sick of these clipping bugs. Perhaps this is the last one :-) We were applying the 'clip' property to just the *geometric* descendants of the element, but we should really be applying it to just the *content* descendants. This patch does that. The patch also changes behaviour of -moz-hidden-unscrollable the same way. That is arguably incorrect because 'overflow' normally affects just the *geometric* children. OTOH this is a private property value, little used, and I don't want to add another code path just for it. Let me know what you think.
Attachment #173129 - Flags: superreview?(dbaron)
Attachment #173129 - Flags: review?(dbaron)
Comment on attachment 173129 [details] [diff] [review] fix r+sr=dbaron; sorry for the delay
Attachment #173129 - Flags: superreview?(dbaron)
Attachment #173129 - Flags: superreview+
Attachment #173129 - Flags: review?(dbaron)
Attachment #173129 - Flags: review+
Regression tested (no changes) and checked in.
Status: NEW → RESOLVED
Closed: 20 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: