Change 20100330-maxcarlson-Y by maxcarl...@bank on 2010-03-30 12:29:16 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: UPDATED AGAIN: Make canvas understand background colors, width, height
and font settings.
Bugs Fixed: LPP-3469 - CSS: Canvas can't be styled
Technical Reviewer: ptw
QA Reviewer: hminsky
Release Notes: The canvas background-color, width, height, font-family,
font-size, font-style and font-color CSS attributes can now be styled, e.g.:
<stylesheet>
canvas {
background-color: #828282;
font-size: 11;
font-style: bold;
font-family: Helvetica,Sans;
}
</stylesheet>
Details:
swf9/LzSprite - Set id early so calls to setRoot*() will work.
LzCSSStyle - Don't exclude canvas from style evaluation.
LaszloCanvas - Add LzStyleConstraintExpr to set canvas CSS properties. Update
constructor to read canvas defaults provided by the compiler and ensure font
style defaults are set so text style cascading works.
Tests: See LPP-3469 across runtimes
Files:
M WEB-INF/lps/lfc/kernel/swf9/LzSprite.as
M WEB-INF/lps/lfc/services/LzCSSStyle.lzs
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100330-maxcarlson-Y.tar