[Laszlo-dev] For Review: Change 20080905-maxcarlson-K Summary: Make fixed-size canvases work on the iPhone, fix scaling

Max Carlson max at openlaszlo.org
Fri Sep 5 12:23:19 PDT 2008


Change 20080905-maxcarlson-K by maxcarlson at Bank on 2008-09-05 11:52:02  
PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Make fixed-size canvases work on the iPhone, fix scaling

Bugs Fixed: LPP-6933 - iphone dhtml: apps not clickable unless  
percentage values are used for canvas width/height

Technical Reviewer: ptw
QA Reviewer: promanik

Details: LzSprite.js - For iPhone, leave the default values for the   
activate_on_mouseover and listen_for_mouseover_out quirks, and turn on  
the canvas_div_cannot_be_clipped quirk.

LaszloCanvas.lzs - Clean up arg processing in construct(), clean out  
cruft.

html-response.xslt - Set iPhone viewport width to device-width to  
prevent warnings, allow users to scale apps like other pages in safari.

Tests: See LPP-6933

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M      WEB-INF/lps/templates/html-response.xslt

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080905-maxcarlson-K.tar


More information about the Laszlo-dev mailing list