On Saturday 2010-04-10 17:14 -0700, Zack Weinberg wrote: > As far as I know, in the absence of border-radius, border-image, or > inset box-shadow it is impossible to make a nested box's background > overlap a containing box's border. It seems to me that putting the > nested background under the containing border (and inset shadow) and > clipping it to the curve is always the right thing. Well, nested boxes' backgrounds can extend way out of their containing element once explicit heights, negative margins, and a bunch of other features are used. Clipping those boxes is what 'overflow: hidden' is for. And I think once browsers fix their bugs with border-radius on elements with 'overflow: hidden' (such as https://bugzilla.mozilla.org/show_bug.cgi?id=459144 ) you'll get the behavior that you want when 'overflow' is 'hidden'. Are you proposing that certain clipping happen under some conditions even when 'overflow' is visible? -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/Received on Sunday, 11 April 2010 00:48:30 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC