<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1478</bug_id>
          
          <creation_ts>2005-05-19 22:42:58 +0000</creation_ts>
          <short_desc>Icon code on XHTML 1.0 Strict results page is *not* valid XHTML 1.0 Strict!</short_desc>
          <delta_ts>2005-12-09 13:01:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Website</component>
          <version>0.7.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Dawson">ddawson</reporter>
          <assigned_to name="Olivier Thereaux">ot</assigned_to>
          <cc>erik</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3128</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Dawson">ddawson</who>
    <bug_when>2005-05-19 22:42:58 +0000</bug_when>
    <thetext>After validating a page as XHTML 1.0 Strict, I see the following code for
displaying an icon indicating the page is valid XHTML 1.0:

&lt;p&gt;
  &lt;a href=&quot;http://validator.w3.org/check?uri=referer&quot;&gt;&lt;img
      src=&quot;http://www.w3.org/Icons/valid-xhtml10&quot;
      alt=&quot;Valid XHTML 1.0!&quot; height=&quot;31&quot; width=&quot;88&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

Ironically, its use of presentational attributes means this code will cause a
page to be invalid. You should provide a version of this without those
attributes when validating XHTML Strict (and, I suppose, an equivalent for HTML
Strict).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3027</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-05-23 06:01:15 +0000</bug_when>
    <thetext>(In reply to comment #0)

What makes you think that the height and width attributes for the img element are not valid? 
http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_img does not seem to agree with 
you, at least.

That said, yes, these could probably be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3028</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Dawson">ddawson</who>
    <bug_when>2005-05-23 07:18:35 +0000</bug_when>
    <thetext>Silly me. You&apos;re right. I guess I just assumed those attributes were deprecated.
Actually, http://www.w3.org/TR/html4/struct/objects.html#visual claims that all
such elements (on IMG and OBJECT) are deprecated, but these are excluded for
some reason. Not entirely sure why. Oh well, better use the list next time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7371</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2005-12-09 12:57:44 +0000</bug_when>
    <thetext>*** Bug 2573 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>