Great stuff max! Approved.
On 2006-11-29, at 18:32 EST, Max Carlson wrote:
Change 20061129-maxcarlson-k by [EMAIL PROTECTED]
computer.local on 2006-11-29 15:22:39 PST
in /Users/maxcarlson/openlaszlo/legals
Summary: Optimize performance by using CSS instead of javascript
where possibble
New Features:
Bugs Fixed:
Technical Reviewer: promanik
QA Reviewer: ptw
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Added perf tests that show ~30% speed dimprovement for
text, LzSprite, LzInputTextSprite and LzTextSprite use CSS where
possible, clean out old comments from LaszloView, fire sprite.init
(true) in canvas to show canvas, add style-dhtml.css with default
styles, updated html-response.xslt to include css and not add
redundant embednew.js. Canvas and canvas click mask are now hidded
during startup, reducing repaints.
Tests: All apps look the same as before in Safari, Firefox 2 mac
and win, and IE 6. Startup time is noticably better!
Files:
M test/lfc/perf/sprite.lzx
A test/lfc/perf/text.lzx
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
M WEB-INF/lps/lfc/views/LaszloView.lzs
M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M WEB-INF/lps/templates/html-response.xslt
A lps/includes/style-dhtml.css
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061129-
maxcarlson-k.tar