Leif Halvard Silli wrote:

When you say 'two or more unrelated effects', then I think we should
discuss whether it *is* two unrelated effects. I don't really see that
it is.

OK, let me try to explain, based on your web page in which you
raise this idea, and with some real TOCs to demonstrate my concern.

(2) Content attribute - @abbr contains the text for the ToC:

       <h1 abbr='My terrific idea' >
        My terrific idea. How I saved HTML5 from being a mess</h1>

    If @abbr is emtpy, then no text lands in the ToC:

       <h1>My terrific idea.<h1>
       <h2 abbr=''>How I saved HTML5 from being a mess</h2>

Example 1 :

<h1>Now is the time for all good men to come to the aid of the party</h1>
<h2>The quick brown fox jumps right over the lazy dog's back</h2>

1.  Now is the time for all good men to come to the aid of the party . . . 1
1.1 The quick brown fox jumps right over the lazy dog's back . . . . . . . 1

Example 2 :

<h1 abbr="Now is the time">Now is the time for all good men to come to the aid of the 
party</h1>
<h2>The quick brown fox jumps right over the lazy dog's back</h2>

1.  Now is the time  . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 The quick brown fox jumps right over the lazy dog's back . . . . . . . 1

Example 3a :

<h1 abbr="Now is the time">Now is the time for all good men to come to the aid of the 
party</h1>
<h2 abbr="">The quick brown fox jumps right over the lazy dog's back</h2>

1.  Now is the time  . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Example 3b :

<h1 abbr="Now is the time">Now is the time for all good men to come to the aid of the 
party</h1>
<h2 abbr="">The quick brown fox jumps right over the lazy dog's back</h2>

1.  Now is the time  . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

My question : why is 3b correct ?  The attribute specifies an abbreviation
that will replace the primary content in the TOC; it does not specify whether
or not the element will get a TOC entry, only what that TOC entry will read.
For that, you would need a second attribute : "notoc" (or "toc='false'",
or whatever).

** Phil.
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to