Re: [FlexJS] CSS Box Model

2014-04-14 Thread Peter Ent
>>>>>> It might be a good idea to prefix all Flex CSS with a Flex prefix >>>>>>so it >>>>>> does not step on settings for the rest of the web page. >>>>>> For this example something like this: >>>>>> >>

Re: [FlexJS] CSS Box Model

2014-04-13 Thread Harbs
>>>> -moz-box-sizing: border-box; -webkit-box-sizing: border-box; >>>>> box-sizing: border-box; >>>>> } >>>>> >>>>> As long as the base div of the application has an apacheFlex class, >>>> that >>>>

Re: [FlexJS] CSS Box Model

2014-04-13 Thread Carlos Rovira
, > >>that > >> >should isolate the css to the app. > >> > > >> >On Apr 8, 2014, at 12:59 PM, wrote: > >> > > >> >> I believe the only thing to lookout for when using the global(*) on > >>the > >> >>bo

Re: [FlexJS] CSS Box Model

2014-04-10 Thread Peter Ent
p. >> > >> >On Apr 8, 2014, at 12:59 PM, wrote: >> > >> >> I believe the only thing to lookout for when using the global(*) on >>the >> >>border-box is that it will affect images too. Meaning it will push >> >>border size and padd

Re: [FlexJS] CSS Box Model

2014-04-09 Thread jude
it will affect images too. Meaning it will push > >>border size and padding inside of its bounding area and scaling the > >>image down. Setting the images back to a regular box should work. > >> > >> -Mark > >> > >> -Original Message- >

Re: [FlexJS] CSS Box Model

2014-04-08 Thread Peter Ent
g the images back to a regular box should work. >> >> -Mark >> >> -Original Message- >> From: Peter Ent [mailto:p...@adobe.com] >> Sent: Monday, April 07, 2014 2:46 PM >> To: dev@flex.apache.org >> Subject: Re: [FlexJS] CSS Box Model >&

Re: [FlexJS] CSS Box Model

2014-04-08 Thread Harbs
ril 07, 2014 2:46 PM > To: dev@flex.apache.org > Subject: Re: [FlexJS] CSS Box Model > > Thanks your help and insight. After some experimentation, the border-box > model is how we'll proceed. Thus .width and .height properties will be the > bounding box for the component with border an

RE: [FlexJS] CSS Box Model

2014-04-08 Thread mark.kessler.ctr
-Original Message- From: Peter Ent [mailto:p...@adobe.com] Sent: Monday, April 07, 2014 2:46 PM To: dev@flex.apache.org Subject: Re: [FlexJS] CSS Box Model Thanks your help and insight. After some experimentation, the border-box model is how we'll proceed. Thus .width and .height properties will b

Re: [FlexJS] CSS Box Model

2014-04-07 Thread Peter Ent
Thanks your help and insight. After some experimentation, the border-box model is how we'll proceed. Thus .width and .height properties will be the bounding box for the component with border and padding inside this box. We'll take the margin information under advisement, but I think I agree with t

Re: [FlexJS] CSS Box Model

2014-04-07 Thread jude
Welcome to HTML world. I've been mulling over this for the last few months. I agree that the border box model would be closer to what people would expect. The default box model is based on the original use case of layout and position of documents not applications. The border box model was specifica

Re: [FlexJS] CSS Box Model

2014-04-07 Thread Peter Ent
Mark > >-Original Message- >From: Peter Ent [mailto:p...@adobe.com] >Sent: Monday, April 07, 2014 9:20 AM >To: dev@flex.apache.org >Subject: Re: [FlexJS] CSS Box Model > >So this is a crazy, no-win situation. Our box model is either compatible >with the "

RE: [FlexJS] CSS Box Model

2014-04-07 Thread mark.kessler.ctr
Well the "box-sizing: border-box" html/css property works pretty good. Wouldn't that make it more compatible with the AS side? -Mark -Original Message- From: Peter Ent [mailto:p...@adobe.com] Sent: Monday, April 07, 2014 9:20 AM To: dev@flex.apache.org Subject: Re: [

Re: [FlexJS] CSS Box Model

2014-04-07 Thread Peter Ent
So this is a crazy, no-win situation. Our box model is either compatible with the "standard" of most browsers or compatible with some quirk or extra feature that attempts to make sense out of something that shouldn't have been done in the first place. Or, to put it another way, we are trying to im

Re: [FlexJS] CSS Box Model

2014-04-06 Thread Harbs
I think the default of the css box model is broken by design. I'd think the solution is simply to stick to using border-box. http://css-tricks.com/box-sizing/ On Apr 4, 2014, at 9:54 PM, Peter Ent wrote: > Hi, > > I've been working on a mobile app example for FlexJS as a way to try out the > F

[FlexJS] CSS Box Model

2014-04-04 Thread Peter Ent
Hi, I've been working on a mobile app example for FlexJS as a way to try out the Flex JS in a practical manner with the intent of running the app using PhoneGap. In the course of doing this I've been running into things that need adjustment. One of them is the box model. Right now FlexJS is so