<?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>6960</bug_id>
          
          <creation_ts>2009-05-27 09:59:58 +0000</creation_ts>
          <short_desc>IMAGES_SPECIFY_SIZE: propose correct code</short_desc>
          <delta_ts>2010-04-19 10:15:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Web interface</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="fd">fd</assigned_to>
          
          
          <qa_contact name="fd">fd</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25322</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-05-27 09:59:58 +0000</bug_when>
    <thetext>The failures keep telling that the height/width attributes are missing or incorrect, but having the correct size displayed next to the incriminated code line would greatly help fixing the error!

Instead of:
 &lt;img src=&quot;foo&quot; alt=&quot;&quot; /&gt;
... say:
 &lt;img src=&quot;foo&quot; alt=&quot;&quot; /&gt; should be &lt;img src=&quot;foo&quot; width=&quot;50&quot; height=&quot;40&quot; alt=&quot;&quot; /&gt;

Alternatively, if tweaking the code turns out to be more difficult than it seems, simply provide the part to add or replace: &quot;width=&apos;50&apos; height=&apos;40&apos;&quot; or the size of the image: &quot;50*40&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35139</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-04-19 10:15:23 +0000</bug_when>
    <thetext>The fix is computed when the report coming from the mobileOK Checker is completed (in completeResults.xsl).

The Checker now proposes the fix, either with the appropriate img tag or with a template tag when the dimensions of the image are not known, e.g. if the image could not be retrieved, or if its format is unknown (incidently, the dimensions of PNG images is unknown, sic!)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>