[Laszlo-dev] [Laszlo-user] Feature proposal: Add CSS2 box model support (padding, margins, borders) to views

Rami Ojares / AMG Oy rami.ojares at archon.fi
Thu Dec 3 11:57:41 PST 2009


Thinking about this issue bit further
I forgot bordercolor-top etc.
So altogether 25 attributes.

And reading that page you sent how about borderstyle

css has values:

none
     No border; the computed border width is zero.

Useless. Why not just set the width to 0?

hidden
     Same as 'none', except in terms of border conflict resolution for
     table elements.

Same remark as above. And further laszlo has no tables so could be ignored

dotted
     The border is a series of dots.
dashed
     The border is a series of short line segments.
solid
     The border is a single line segment.

This obviously is the default.

double
     The border is two solid lines. The sum of the two lines and the 
space between them equals the value of 'border-width'.
groove
     The border looks as though it were carved into the canvas.
ridge
     The opposite of 'groove': the border looks as though it were coming 
out of the canvas.
inset
     The border makes the box look as though it were embedded in the 
canvas.
outset
     The opposite of 'inset': the border makes the box look as though it 
were coming out of the canvas.

And then there is the issue that laszlo attribute names can not have 
dash character. So the name would have to be bordercolortop.

- rami


More information about the Laszlo-dev mailing list