[Laszlo-dev] For Review: Summary: Fix size of embedded DHTML apps
Max Carlson
max at openlaszlo.org
Fri Aug 24 17:20:15 PDT 2007
20070824-maxcarlson-s by maxcarlson at plastik on 2007-08-24 16:48:32 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix size of embedded DHTML apps
New Features:
Bugs Fixed: LPP-4579 - DHTML apps aren't sized properly when embedded
in a page with other HTML
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzSprite.as - Add capabilities.readcanvassizefromsprite entry.
LzSprite.js - Set the container div's width and height like the
flash embed script does. Add capabilities.readcanvassizefromsprite
entry. Avoid clipping if capabilities.canvas_div_cannot_be_clipped
== true.
LaszloCanvas.lzs - Only read sprite properties if
capabilities.readcanvassizefromsprite == true.
embednew.js - Store the correct sizes in the propcache.
Tests: See LPP-4579
Files:
M WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M lps/includes/source/embednew.js
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070824-
maxcarlson-s.tar
More information about the Laszlo-dev
mailing list