I am not so sure I understand correctly, is that the answer is there is no solution, the only accept way is using a transparent background? 在 2014年7月22日星期二UTC+8上午12时07分24秒,Boris Zbarsky写道: > On 7/21/14, 9:35 AM, Markus Stange wrote: > > > Oops, I was forgetting about borders. border-radius works for getting > > > rounded borders on root elements, but it does not work for clipping > > > backgrounds to a rounded rect. > > > > Right, because of background propagation to the viewport. The spec > > calls this out explicitly: the background-clip property doesn't apply to > > the root, so there is no clipping to the border there. > > > > -Boris
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform