Change 20090430-maxcarlson-m by maxcarl...@bank on 2009-04-30 16:29:03 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: HTML component should have a minimum size

Bugs Fixed: LPP-8108 - Enforce minimum size of html component

Technical Reviewer: hminsky
QA Reviewer: mdemmon

Details: test/extensions/html - Add buttons for testing invalid method calls and sizes

lps/components/extensions/html - Avoid registering for onx/ony in the target for dhtml - unused. __updatepos() passes null x/y to iframemanager to skip positioning. Width/height values are limited to >= 0.

iframemanager - Add try/catch around method call to prevent bad calls from affecting subsequent calls to callJavascript.

Tests: test/extensions/html.lzx?lzr=dhtml runs as before, clicking 'bad method' no longer breaks the other buttons or causes an exception. Clicking 'invalid size' no longer breaks IE.

Files:
M      test/extensions/html.lzx
M      lps/components/extensions/html.lzx
M      lps/includes/source/iframemanager.js

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20090430-maxcarlson-m.tar

Reply via email to