[Seaside-dev] #space method,   and Safari

Philippe Marschall philippe.marschall at gmail.com
Tue May 6 07:07:01 UTC 2008


2008/5/6 Michael Lucas-Smith <mlucas-smith at cincom.com>:
> Hi All,
>
> I was debugging in WebKit today and realized that Safari is quite particular
> about named entities such as 'nbsp' if you haven't declared the DTD at the
> top of your document. I don't think it's reasonable to require the DTD to be
> declared if we're using XHTML namespaces.

I do. Especially since we send the stuff as as text/html and even more
important because of those nice browsers that customers use that do
all nice of non-standard compiliant things if you leave it out. But we
should get rid of the xml preamble because it triggers quirks mode on
IE.

Cheers
Philippe

> This, however, means that the #space method, which emits an 'nbsp' is
> incorrect unless the DTD is included. Instead of:
> html html: '&nbsp;'
>
> the method could be:
> html html: '&#160;'
>
> and have the same meaning.
>
> Cheers,
> Michael
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>


More information about the seaside-dev mailing list