[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:
No border; the computed border width is zero.
Useless. Why not just set the width to 0?
Same as 'none', except in terms of border conflict resolution for
Same remark as above. And further laszlo has no tables so could be ignored
The border is a series of dots.
The border is a series of short line segments.
The border is a single line segment.
This obviously is the default.
The border is two solid lines. The sum of the two lines and the
space between them equals the value of 'border-width'.
The border looks as though it were carved into the canvas.
The opposite of 'groove': the border looks as though it were coming
out of the canvas.
The border makes the box look as though it were embedded in the
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.
More information about the Laszlo-dev