Re: list-item alignment in CSS

I accidentally sent the last message before I was finished. Which is
opportune since you'd all probably have passed into coma before I could
point out the following critical discrepancy in the spec between the
wording and the ascii-art illustration.

From http://www.w3.org/pub/WWW/TR/REC-CSS1#list-item-elements :

---

  <STYLE TYPE="text/css">
    UL         { list-style: outside }
    UL.compact { list-style: inside }
  </STYLE>

  <UL>
    <LI>first list item comes first
    <LI>second list item comes second
  </UL>

  <UL CLASS=COMPACT>
    <LI>first list item comes first
    <LI>second list item comes second
  </UL>

The above example may be formatted as:

  * first list item
    comes first

  * second list item
    comes second


  * first list
  item comes first

  * second list
  item comes second

---

Note the alignment of the asterisks in the ascii-rendering. The style has
gone from floating "outside" the block to "inside", yet it is the block,
rather than the marker that has shifted. This can't be right. I say this
should be corrected to:

---

  * first list item
    comes first

  * second list item
    comes second


    * first list
    item comes first

    * second list
    item comes second


______________________________
mailto:fahrner@pobox.com
http://www.verso.com/

"Such machines will have enormous appetites. One of them will take
instructions and data from a roomful of girls armed with simple keyboard
punches, and will deliver sheets of computed results every few minutes.
There will always be plenty of things to compute in the detailed affairs of
millions of people doing complicated things."

--Vannevar Bush "As We May Think" 1945.

Received on Tuesday, 3 June 1997 19:20:23 UTC