Just a side bar question.  Does FlexJS use any type of html5/css reset files 
for setting up default formatting?




r/s

-Mark Kessler
Senior Program Analyst
MCICOM G4
Phone: (571) 256-7089
Email: mark.kessler....@usmc.mil




-----Original Message-----
From: Alex Harui [mailto:aha...@adobe.com]
Sent: Saturday, August 08, 2015 12:50 AM
To: dev@flex.apache.org
Subject: [FLEXJS] Layout

One of my goals for FlexJS is to leverage as much code in the browser as
possible.  That’s why there are button components that thinly wrap the
HTML button element.  You can pay-as-you-go and select heavier buttons
that allow more complex skinning and/or styling.

I thought we’d be able to leverage the browser’s layout code for vertical
and horizontal layout.  The current version sets the children to
display:block or display:inline-block.  That’s much less code than running
a loop on the children, figuring out margins, left/right constraints, etc,
and therefore less code to write, debug and maintain.

But these days, I’m starting to wonder if one of the benefits of FlexJS
will be in the availability of layouts that pretty much use
position:absolute to control everything.  There are lots of funky rules
and workarounds for how browsers deal with display:inline-block, for
example.

Anyway, I’m wondering if there is anything, besides performance, we might
give up by giving up on display:inline-block and writing our own
horizontal layout.

Thoughts?
-Alex

Reply via email to