[Bug 6649] Text outside paragraph nor division.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6649


Olivier Thereaux <ot@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ot@w3.org




--- Comment #1 from Olivier Thereaux <ot@w3.org>  2009-03-04 13:13:40 ---
(In reply to comment #0)
> Created an attachment (id=652)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=652) [details]
> Proposed pathc for donation script
> 
> In validator.html and xhtml.properties,
> 
>   <div class="intro" id="don_program"></div>  
>   <script type="text/javascript"
> src="http://www.w3.org/QA/Tools/don_prog.js"></script>
> 
> 
> Script don_prog.js did not output "<div>" nor "<p>", so this is not preferable
> in XHTML 1.0.

The script does not output anything, it actually modifies the DOM, and in
particular it acts on the div#don_program. This is why I assume it is better to
have the script outside and after div#don_program is properly created in the
DOM.

Do you have a pointer explaining why that would be a bad idea?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 4 March 2009 13:13:51 UTC