Re: [whatwg] List of links idea (href="" stuff)

2007-03-18 Thread Alexey Feldgendler
On Wed, 14 Mar 2007 14:22:57 +0100, Anne van Kesteren <[EMAIL PROTECTED]>  
wrote:


Maybe we can change the content model of  (and perhaps ) to  
allow a series of  elements:


   
 test


It would make styling harder (one would need to specify "ul>a" and "ol>a"  
rules in addition to "li"). This is probably only a minor drawback, but  
the gain from this enhancement is also long (saving from typing four  
characters "").



--
Alexey Feldgendler <[EMAIL PROTECTED]>
[ICQ: 115226275] http://feldgendler.livejournal.com


[whatwg] List of links idea (href="" stuff)

2007-03-14 Thread Anne van Kesteren
The most common use case for href="" on every element seems to be about  
removing lots of characters when creating a navigation menu or a blog roll  
or similar list. So instead of typing


  
test
...

you would type

  
test
...

Maybe we can change the content model of  (and perhaps ) to allow  
a series of  elements:


  
test
...

For backwards compatibility text content would be allowed inside  but  
must be ignored for the purposes of determining the semantics of the  
content (in a conforming HTML5 UA). This would allow:


  
test |
test |
...

Alternatively  could be redefined to have this type of semantics when  
its content model is just  elements and text content.



(Also thanks to Sjoerd Visscher.)


--
Anne van Kesteren