[Laszlo-dev] Fixing LPP-1987 (Make all wrappers standard compliant)
P T Withington
ptw at openlaszlo.org
Mon Nov 27 10:36:29 PST 2006
[Adding dev. Max may have some comments, too.]
On 2006-11-26, at 12:21 EST, Philip Romanik wrote:
> Hi Tucker,
>
> I've fixed the wrappers that I can to make them validate properly.
> Most css produce some warnings, but no errors. There are some pages
> I have not fixed. Pages that load swf use the <embed> tag and this
> does not validate. One page uses non-compliant attributes such as
> <body marginwidth="...">.
>
> How far should I take this bug? There are 4 pages I have changed to
> make them validate, and a few validated already.
What are the pages that do not validate?
There are really only two valid ways to embed swf in HTML:
1) Use the object tag, as the html-object responder does
This will validate, is useful for situations where Javascript is not
enabled or for XHTML pages that do not support document.write. This
works poorly in IE6 because it will not activate the object until it
is fully loaded.
2) Use LzEmbed
This will validate, because there is no object or embed tag in the
page source it is dynamically added by the LxEmbed script.
So, depending on the purpose of the pages that do not validate, it
would be nice to choose one or the other of these methods. Unless
the purpose of the page is to explicitly show how to create an
invalid (but works well for IE) page. It is also possible that the
pages that do not validate are obsolete and should just be deleted.
More information about the Laszlo-dev
mailing list