With that change, I'm getting a javascript error in IE7 when I run the
debugger with this change.
I think it is complaining about this line in LzTextSprite.prototype.setWidth
};
wp_$8 = cdim_$7(wt_$4);
if (style_$6.width != wp_$8) {
scrolldiv_$5.style.width = wp_$8;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if (this.scrolling) {
scrolldiv_$5.style.clip = "rect(0 " + wp_$8 + " " + hp_$10 + " 0)"
};
On Thu, Oct 8, 2009 at 5:01 AM, Max Carlson <[email protected]> wrote:
> Change 20091008-maxcarlson-o by [email protected] on 2009-10-08 01:52:39
> PDT
> in /Users/maxcarlson/openlaszlo/trunk-clean
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: UPDATED AGAIN: Turn off overflow: hidden for non-multiline DHTML
> text
>
> Bugs Fixed: LPP-8399 - Drop-shadow support for DHTML runtime, LPP-8538 -
> DHTML: text with set width appears different from swf
>
> Technical Reviewer: hminsky
> QA Reviewer: [email protected]
>
> Details: LzSprite - Remove overflow:hidden style defaults for text. Remove
> unneeded lztextcontainer_click style.
>
> LzTextSprite - Overflow: hidden should only be needed for multiline fields,
> fields with resize=false, or those with scrollEvents on. Explicitly turn
> off overflow: hidden when shadows are turned on. Correct sizing of widths
> to visually match Flash.
>
> Tests: test/dropshadow.lzx no longer clips in DHTML.
> test/lztest/lztest-textheight.lzx runs as before. Testcase from LPP-8538
> now looks consistent in swf and dhtml.
>
> Files:
> M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> M WEB-INF/lps/lfc/kernel/dhtml/LzTextSprite.js
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20091008-maxcarlson-o.tar
>
--
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews