[patch] Fix invalid DOM in CGI

Andreas Ericsson ae at op5.se
Fri Dec 9 15:47:49 CET 2011


On 12/09/2011 03:23 PM, Sven-Göran Bergh wrote:
> Attached patch fixes an invalid DOM.
> 
> A table element may not have a form
> element as a direct child, but the
> opposite is OK.
> 
> The forms become invalid in some browsers
> when the CGI:s are AJAX loaded in div
> element.
> 

Neat patch, but why not start the table directly after the form?
That way it would have been obvious that the patch doesn't change
the layout. Now it's split so I can't say for sure that it
doesn't without having to look at the code, and I won't have
time to do that until next week. Care to reroll and resend a
more easily reviewed patch?

Thanks.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/




More information about the Developers mailing list