(I am checking this change in.)

Change philip-20110708-WIT by philip@PHILIP-I7 on 2011-07-08 15:56:44 EDT
    in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: iframemanager improvements

New Features:

Bugs Fixed: LPP-9973

Technical Reviewer: (pending)
QA Reviewer: mdemmon
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:
I left a partial implementation of the feature to use percentages rather than pixel values, but this code is bypassed in all cases.

Adding overflow:hidden to the body tag makes the scrollbars disappear when resizing the window.


Details:

iframemanager.js
- I left in a partial implementation of feature to use percentages instead of pixel values whenever possible. This may be of limited use in real world applications. It also requires a compiler change to capture the component sizes are percentages.
- The iframe is always 100% width/height.
- iframe uses inline style instead of block style.
- Set container div to same z-index as iframe.

html.lzx
- Partial implementation of feature to use percentages. This is not currently used.


Tests:
Run latest test case I added to jira. Scrollbars do not display when resizing the browser window, and the lzx portion (component sampler) works as expected.

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

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/philip-20110708-WIT.tar

Reply via email to