[Laszlo-checkins] r14267 - in openlaszlo/branches/4.4: . WEB-INF/lps/lfc/kernel/dhtml

ptw@openlaszlo.org ptw at openlaszlo.org
Wed Jul 1 12:08:03 PDT 2009


Author: ptw
Date: 2009-07-01 12:08:00 -0700 (Wed, 01 Jul 2009)
New Revision: 14267

Modified:
   openlaszlo/branches/4.4/
   openlaszlo/branches/4.4/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Merged revisions 14266 via svnmerge from 
http://svn.openlaszlo.org/openlaszlo/trunk

.......
  r14266 | ptw | 2009-07-01 15:02:37 -0400 (Wed, 01 Jul 2009) | 27 lines
  
  Change 20090624-ptw-H by ptw at dueling-banjos.home on 2009-06-24 15:48:05 EDT
      in /Users/ptw/OpenLaszlo/trunk
      for http://svn.openlaszlo.org/openlaszlo/trunk
  
  Summary: Add some CSS3 defaults to lzswf*text styles
  
  Bugs Fixed:
  LPP-6374: Add option to make DHTML text wrapping match swf
  LPP-8251 DHTML: appearance of <inputtext> in Safari
  LPP-8276: in DHTML inputtext and edittext don't wrap unless whitespace exists
  
  NOTE: These bugs are ONLY fixed in browsers that support CSS3, eg.,
  Mozilla 3.1, Safari 4, and IE8
  
  Technical Reviewer: a.bargull at intensis.de (pending), hminsky (Message-ID: <8c61fad60906260937s6c895775h29ac1a136ca8ef59 at mail.gmail.com>)
  QA Reviewer: maynard (pending)
  
  Details:
      Added CSS3 style defaults that will make text wrapping and display
      more like swf
  
  Tests:
      Test case from bug reports:  Works correctly in Firefox 3.1 and
      Safari 4.  I don't know any other browsers that support CSS3, so
      don't expect it to work elsewhere.
.......



Property changes on: openlaszlo/branches/4.4
___________________________________________________________________
Name: svnmerge-integrated
   - /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124,14127,14129,14146-14156,14159,14165,14177,14184,14189,14192-14194,14200-14206,14210-14215,14217-14219,14226,14229,14235,14237
   + /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.2:1-12154,12181,13205,13778 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872 /openlaszlo/trunk:1-13938,13940-13945,13947-13952,13954-13968,13970,13972-13980,13982-13985,13987-14015,14017-14032,14034,14036-14069,14071-14109,14116,14124,14127,14129,14146-14156,14159,14165,14177,14184,14189,14192-14194,14200-14206,14210-14215,14217-14219,14226,14229,14235,14237,14266

Modified: openlaszlo/branches/4.4/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/branches/4.4/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js	2009-07-01 19:02:37 UTC (rev 14266)
+++ openlaszlo/branches/4.4/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js	2009-07-01 19:08:00 UTC (rev 14267)
@@ -328,7 +328,10 @@
         textIndent: '0px',
         // To match swf font metrics
         letterSpacing: '0.025em',
-        textDecoration: 'none'
+        textDecoration: 'none',
+        // CSS3 browsers, for swf compatibilty
+        wordWrap: 'break-word',
+        MsWordBreak: 'break-all'
     },
     lzinputtext: {
         fontFamily: 'Verdana,Vera,sans-serif',
@@ -363,7 +366,12 @@
         textIndent: '0px',
         // To match swf font metrics
         letterSpacing: '0.025em',
-        textDecoration: 'none'
+        textDecoration: 'none',
+        // CSS3 browsers, for swf compatibilty
+        wordWrap: 'break-word',
+        MsWordBreak: 'break-all',
+        outline: 'none',
+        resize: 'none'
     },
     lzswfinputtextmultiline: {
         fontFamily: 'Verdana,Vera,sans-serif',
@@ -383,7 +391,12 @@
         textIndent: '0px',
         // To match swf font metrics
         letterSpacing: '0.025em',
-        textDecoration: 'none'
+        textDecoration: 'none',
+        // CSS3 browsers, for swf compatibilty
+        wordWrap: 'break-word',
+        MsWordBreak: 'break-all',
+        outline: 'none',
+        resize: 'none'
     },
     lztextlink: {
         cursor: 'pointer'



More information about the Laszlo-checkins mailing list