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 6962 - Code extracts: closing tag and tag content are often useless
Summary: Code extracts: closing tag and tag content are often useless
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Web interface (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: fd
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 10:14 UTC by fd
Modified: 2010-04-26 11:52 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-05-27 10:14:10 UTC
Code extracts usually display the content of the tag, or include the closing tag.

See report from:
 http://www.w3.org/2008/08/mok-check-tests/1.html

For instance:
 <iframe src="lating1.html">
 </iframe>

or
 <form action="" target="foo">
   [the whole content of the form tag]
 </form>

or
 <object data="nocharset.html">
 </object>

See also script warnings when checking a huge page such as:
 http://cnn.com

The closing tag and the content of the tag are useless. The first line is the one to display.
Comment 1 fd 2010-04-26 11:52:02 UTC
Code extracts were improved to only return the tag and not its content, or to return the tag with a little bit of context (about 40 characters next to the node itself in the DOM tree).

Also see Bug 9538.