W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2006

XHTML Style Sheet Questions

From: Kennedy, Richard T <richard.t.kennedy@boeing.com>
Date: Thu, 19 Jan 2006 22:42:04 -0800
Message-ID: <F1E0D73334FA7B4D83B2F1FEC30EC77E0718DD@XCH-NWSVC-10.nw.nos.boeing.com>
To: <spec-prod@w3.org>

[1] The XHTML Style sheet generates the following html tag:
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
   The HTML Compatibility Guideline C.7 states:
        "Use both the lang and xml:lang attributes when specifying the
language of an element."
   Should the XHTML Style sheet be modified to add the xml:lang
attribute?

[2] The XHTML Style sheet generates empty elements without a space
before the trailing / and >,
    e.g., <link rel="stylesheet" type="text/css"
href="http://www.w3.org/StyleSheets/TR/W3C-WD.css"/>,
          <hr/>, <br/>
   The HTML Compatibility Guideline C.2 states:
       "Empty Elements Include a space before the trailing / and > of
empty elements, e.g. <br />, <hr /> and 
       <img src="karen.jpg" alt="Karen" />. Also, use the minimized tag
syntax for empty elements, e.g. <br />, 
       as the alternative syntax <br></br> allowed by XML gives
uncertain results in many existing user agents."
   Should the XHTML Style sheet be modified to add a space before the
trailing / and > in empty elements?

[3] The XHTML Style sheet generates anchor tags that contain the shape
attribute without the coords attribute.
    e.g., <a rel="disclosure"
href="http://www.w3.org/2004/01/pp-impl/37584/status" shape="rect"> ....
</a>
          <a
href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosur
e" shape="rect"> ... </a>
    Based on my understanding of the XHTML Client-Side Image Map Module 
 
<http://www.w3.org/TR/2002/WD-xhtml2-20021211/mod-csImgMap.html>, having
a shape attribute without the
         coords attribute is meaningless.
   Should the XHTML Style sheet be modified to not insert a shape
attribute without the corresponding coords
        attribute?


Richard T. Kennedy
The Boeing Company
W3C QAWG
W3C MWI BPWG
Received on Friday, 20 January 2006 08:57:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:13 GMT