Обсуждение: [pgsql-www] Attribute minimization fix for sitesearch

Поиск
Список
Период
Сортировка

[pgsql-www] Attribute minimization fix for sitesearch

От
Daniel Gustafsson
Дата:
On sitesearch, setting the checkbox status with just "checked" is not allowed
in XHTML as attribute minimization is forbidden, causing validation to fail.
Fix by using the full form checked="checked”.

cheers ./daniel


-- 
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www

Вложения

Re: [pgsql-www] Attribute minimization fix for sitesearch

От
Daniel Gustafsson
Дата:
> On 20 Feb 2017, at 15:31, Daniel Gustafsson <daniel@yesql.se> wrote:
>
> On sitesearch, setting the checkbox status with just "checked" is not allowed
> in XHTML as attribute minimization is forbidden, causing validation to fail.
> Fix by using the full form checked="checked”.

Seems I was a bit too quick on the Send button, here is the relevant portion in
the documentation for this:
   https://www.w3.org/TR/xhtml1/diffs.html#h-4.5

cheers ./daniel




Re: [pgsql-www] Attribute minimization fix for sitesearch

От
Magnus Hagander
Дата:


On Mon, Feb 20, 2017 at 3:31 PM, Daniel Gustafsson <daniel@yesql.se> wrote:
On sitesearch, setting the checkbox status with just "checked" is not allowed
in XHTML as attribute minimization is forbidden, causing validation to fail.
Fix by using the full form checked="checked”.

Applied, thanks. 

--