Re: [whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

2010-08-08 Thread Ian Hickson
On Mon, 5 Jul 2010, Ben Schwarz wrote: > > I'd find it useful if I could ask the user agent to prefetch the "next" > page as its more than likely that the user will be lead to this page > soon after the current browsing context. Having a linkrel of "next" is > useful for styling. > > However,

Re: [whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

2010-07-05 Thread Aryeh Gregor
On Sun, Jul 4, 2010 at 10:41 PM, Ben Schwarz wrote: > However, as far as my understanding goes, linkrels should not contain > multiple values; eg: > Next page They can. See the spec: "The types of link indicated (the relationships) are given by the value of the rel attribute, which, if present,

Re: [whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

2010-07-04 Thread Garrett Smith
On 7/4/10, timeless wrote: > On Mon, Jul 5, 2010 at 6:27 AM, Garrett Smith > wrote: >>This attribute describes the relationship from the current >> document to the anchor specified by the href attribute. The value of >> this attribute is a space-separated list of link types. > >> Though many,

Re: [whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

2010-07-04 Thread Garrett Smith
On 7/4/10, Ben Schwarz wrote: > Hi All, > > [...] > > However, as far as my understanding goes, linkrels should not contain > multiple values; eg: > > Next page > Why not? They can in HTML4. http://www.w3.org/TR/html401/struct/links.html#adef-rel rel = link-types [CI] This attribute descri

[whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

2010-07-04 Thread Ben Schwarz
Hi All, I'm sure link relations have already had many debates around how they should work and the exact use case that they cover. I'd like to add another card to the deck :-) When using link relations on an "a" tag, one would find it useful to have "next" and "previous" link relations, this is e