Indenting with blockquote

I noticed in the spec-prod style sheet[1]:

  <!-- slist: simple list -->
  <!-- using a <blockquote> to indent the list is very wrong, but it
       works -->
  <xsl:template match="slist">
    <blockquote>
      <p>
        <xsl:apply-templates/>
      </p>
    </blockquote>
  </xsl:template>

Why doesn't the style sheet use padding-left[2]? As noted, using a
<blockquote> to indent the list is very wrong, and it seems wrong to
me to produce technical documents with this trick (such as [3]).

Regards,

Hugo

  1. http://dev.w3.org/cvsweb/spec-prod/html/xmlspec.xsl?rev=1.12&content-type=text/plain
  2. http://www.w3.org/TR/1998/REC-CSS2-19980512/box.html#propdef-padding-left
  3. http://www.w3.org/TR/2001/WD-xforms-20010828/index-all.html
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/ - tel:+1-617-452-2092

Received on Monday, 24 September 2001 17:33:20 UTC