This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6649 - Text outside paragraph nor division.
Summary: Text outside paragraph nor division.
Status: NEW
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: main pages/translations (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 02:55 UTC by Makoto Takahashi
Modified: 2009-03-04 13:13 UTC (History)
1 user (show)

See Also:


Attachments
Proposed pathc for donation script (10.73 KB, patch)
2009-03-04 02:55 UTC, Makoto Takahashi
Details

Description Makoto Takahashi 2009-03-04 02:55:50 UTC
Created attachment 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.
Comment 1 Olivier Thereaux 2009-03-04 13:13:40 UTC
(In reply to comment #0)
> Created an attachment (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?