<canvas height="20" width="100%"> <view width="20" height="20" bgcolor="red" oninit="this.setAttribute('width', 50);"/> </canvas> <!-- * X_LZ_COPYRIGHT_BEGIN *************************************************** * Copyright 2007, 2008 Laszlo Systems, Inc. All Rights Reserved. * * Use is subject to license terms. * * X_LZ_COPYRIGHT_END ****************************************************** -->