[Laszlo-dev] For Review: Change 20061113-ptw-w Summary: Work around yet another IE quirk

P T Withington ptw at pobox.com
Mon Nov 13 14:28:03 PST 2006


Change 20061113-ptw-w by ptw at dueling-banjos.local on 2006-11-13  
16:59:21 EST
     in /Users/ptw/OpenLaszlo/legals-2/WEB-INF/lps/lfc

Summary: Work around yet another IE quirk

Bugs Fixed:
LPP-2981: Multiline text with newlines is broken again in IE 6

Technical Reviewer: max (pending)
QA Reviewer: mamye (pending)
Doc Reviewer: n/a

Details:
     Add a new IE quirk.  I don't know how the previous way we did this
     worked.  I reverted the code to the previous version and it still
     failed in IE.  So now I set the div style to pre if it is
     multi-line and has embedded newlines.  Because of an IE quirk, you
     have to set the text content using innerText, rather than
     innerHTML.

Tests:
     Loaded LZPIX in Safari, FireFox, and IE.  Observed that version
     info block was multi-line, as expected.

Files:
M      kernel/dhtml/LzSprite.js
M      kernel/dhtml/LzTextSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20061113-ptw- 
w.tar


More information about the Laszlo-dev mailing list