I don't understand why the canvas has to manually apply its CSS?  Shouldn't it 
just follow the normal view mechanism that relies on styleBindAttr?

On 2010-03-30, at 15:51, Max Carlson wrote:

> 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: 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 can now be styled via CSS, e.g.:
> <stylesheet>
>    canvas {
>        background-color: #828282;
>        font-size: 11;
>        font: Verdana;
>    }
> </stylesheet>
> 
> Details: LzCSSStyle - Don't exclude canvas from style evaluation.  Manually 
> apply background-color, font-style, font-size, font-family, width and height 
> if CSS is available.
> 
> Tests: See LPP-3469
> 
> Files:
> 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
> 


Reply via email to