« December 23, 2005 |
Main
| December 27, 2005 »
Monday, December 26, 2005
JavaScrypt Updated to XHTML 1.0
All of the Web pages in the
JavaScrypt browser-based cryptography package have been updated to be fully compliant with and validated against the
XHTML 1.0 and
CSS 2.1 standards. As
mentioned earlier, compatibility with XHTML 1.0 or HTML 4.01 requires abandoning the
wrap="off" attribute in
<textbox> fields, which does not figure in these standards, and whose CSS equivalent, "
white-space: pre", does not work within
textboxes in most current browsers. I decided that since wrapping of long lines is purely a matter of æsthetics and presentation which doesn't affect the results of any of these pages, and since browsers go to such an effort to dissuade any dissent from bozo-wrapping of paragraph-long lines which has sadly become the standard for text entry these days, in the interest of standards compliance I'd shut up and follow the herd on this one.
The "
lean version" of the encryption/decryption utility, which embeds all of the JavaScript programs into a single Web page devoid of commentary, now uses XHTML "
/* <![CDATA[ */" … "
/* ]]> */" sequences to escape JavaScript code; the other Web pages, with smaller embedded scripts containing no troublemaking characters, continue to use traditional HTML comment escapes.
Posted at
15:28