[Laszlo-checkins] r10090 - openlaszlo/trunk/docs/src/developers/programs
ptw@openlaszlo.org
ptw at openlaszlo.org
Fri Jun 27 16:54:51 PDT 2008
Author: ptw
Date: 2008-06-27 16:54:50 -0700 (Fri, 27 Jun 2008)
New Revision: 10090
Modified:
openlaszlo/trunk/docs/src/developers/programs/css-$14.lzx
Log:
Change 20080627-ptw-E by ptw at dueling-banjos.local on 2008-06-27 18:13:31 EDT
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Use correct CSS types in style example
Bugs Fixed:
LPP-6170 'dguide. Cascading Style Sheets: Example Attribute Selector: View not displaying properly'
Technical Reviewer: liorio (pending)
QA Reviewer: amuntz (pending)
Details:
Specify colors as CSS colors and dimensions as CSS dimensions.
Tests:
Visual inspection of css-$14.lzx example
Modified: openlaszlo/trunk/docs/src/developers/programs/css-$14.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/css-$14.lzx 2008-06-27 23:54:11 UTC (rev 10089)
+++ openlaszlo/trunk/docs/src/developers/programs/css-$14.lzx 2008-06-27 23:54:50 UTC (rev 10090)
@@ -5,34 +5,34 @@
<stylesheet>
view {
- height: "50";
- width: "50";
- bgcolor: "0xFF0000";
+ height: 50;
+ width: 50;
+ bgcolor: #FF0000;
}
[name='blue'] {
- height: "50";
- width: "50";
- bgcolor: "0x0000FF";
+ height: 40;
+ width: 40;
+ bgcolor: "blue";
}
#green {
- height: "50";
- width: "50";
- bgcolor: "0x006600";
+ height: 30;
+ width: 30;
+ bgcolor: rgb(0,102,0);
}
</stylesheet>
-<simplelayout axis="x" spacing="25"/>
-
+<view layout="axis: x; spacing: 25">
<view id="red" name="red" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}"/>
<view id="blue" name="blue" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}" />
- <view id="green" name="green" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}" />
+ <view id="green" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}" />
+</view>
</canvas>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007, 2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
More information about the Laszlo-checkins
mailing list