Re: How to setting border-radius for window without the default style.

2014-07-27 Thread Yuan Xulei(袁徐磊)
On 7/23/14, 5:54 PM, Yonggang Luo wrote: If you want the background clipped to the rounded border, and the rounded border to be on the root, then you can't do that. Is that possible to dynamic creating the border/background of the root, by modify the underling code in mozilla source code. That'

Re: How to setting border-radius for window without the default style.

2014-07-25 Thread Yonggang Luo
I want the tag's background looks like this: http://postimg.org/image/heff319wp/ http://s12.postimg.org/8jeksil4b/QQ_20140725223359.jpg The id of tag is messengerWindow I want the following effect: #messengerWindow { border: none; -moz-appearance: none; background: AsThePictureShow

Re: How to setting border-radius for window without the default style.

2014-07-25 Thread Yonggang Luo
在 2014年7月22日星期二UTC+8上午10时56分25秒,Boris Zbarsky写道: > On 7/21/14, 9:50 PM, Yonggang Luo wrote: > > > 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? > > > > If you want the background clipped to the ro

Re: How to setting border-radius for window without the default style.

2014-07-23 Thread Yonggang Luo
在 2014年7月22日星期二UTC+8上午10时56分25秒,Boris Zbarsky写道: > On 7/21/14, 9:50 PM, Yonggang Luo wrote: > > > 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? > > > > If you want the background clipped to the ro

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Yonggang Luo
Thanks for your response, now I know how to deal with this problem. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Boris Zbarsky
On 7/21/14, 9:50 PM, Yonggang Luo wrote: 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? If you want the background clipped to the rounded border, and the rounded border to be on the root, then you can

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Yonggang Luo
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

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread 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

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Markus Stange
On 21.07.14 14:59, Boris Zbarsky wrote: On 7/21/14, 8:36 AM, Markus Stange wrote: On 21.07.14 13:33, Yonggang Luo wrote: I am trying to remove the default style for tag but failed to setting the radius. Setting a border radius on the root element is not supported. In XUL, right? Works fin

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Boris Zbarsky
On 7/21/14, 8:36 AM, Markus Stange wrote: On 21.07.14 13:33, Yonggang Luo wrote: I am trying to remove the default style for tag but failed to setting the radius. Setting a border radius on the root element is not supported. In XUL, right? Works fine in HTML. -Boris __

Re: How to setting border-radius for window without the default style.

2014-07-21 Thread Markus Stange
On 21.07.14 13:33, Yonggang Luo wrote: I am trying to remove the default style for tag but failed to setting the radius. Setting a border radius on the root element is not supported. You'll need to make the window element transparent and add a wrapper element (like ) that you set the border

How to setting border-radius for window without the default style.

2014-07-21 Thread Yonggang Luo
I am trying to remove the default style for tag but failed to setting the radius. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform