[uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Toby A Inkster
Martin McEvoy wrote: No Tantek and Toby you are misguided in your interpretation please cite your sources ... http://www.w3.org/TR/REC-html40/present/styles.html#h-14.2.2 The syntax of the value of the style attribute is determined by the default style sheet language.

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Martin McEvoy
Hello Toby Toby A Inkster wrote: Martin McEvoy wrote: [...edit..] this is a valid solution. It is certainly valid in an SGML sense. And it does conform to the HTML spec *if* you set the Content-Style-Type header. However, if you do so, then any use of CSS in style attributes becomes

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Benjamin Hawkes-Lewis
Martin McEvoy wrote: '-' + vendor identifier + '-' + meaningful name http://www.w3.org/TR/CSS21/syndata.html#vendor-keywords which leads me to believe that publishers can do something like this... span class=bday style=-uf-bday:1968-01-04;4th Jan, 1968/span but I believe that this is a

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Martin McEvoy
Hello Benjamin Benjamin Hawkes-Lewis wrote: Martin McEvoy wrote: I hadn't thought of that something like this maybe... span class=bday style=content:'1968-01-04';4th Jan, 1968/span It doesn't produce any errors with the validator, but is it still a hack Worse still, it would conflict with

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Benjamin Hawkes-Lewis
Martin McEvoy wrote: does this apply to in-line elements? By my reading of the proposals, yes (both in the sense of inline/text-level elements and elements styled display: inline;). I would guess it does, I tested the example in a CSS3 validator with again no errors, Why would you

[uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Toby A Inkster
Benjamin Hawkes-Lewis wrote: It will cause problems if browser developers ever implement W3C's proposals. Opera implemented support for CSS's content property on real elements (as against pseudo-elements) a very long time ago (Opera 5 or 6 IIRC) but dropped it later on. -- Toby A

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Benjamin Hawkes-Lewis
Toby A Inkster wrote: Opera implemented support for CSS's content property on real elements (as against pseudo-elements) a very long time ago (Opera 5 or 6 IIRC) but dropped it later on. Actually, content appears to be working with Opera 9.52 Mac and span class=bday

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Martin McEvoy
Benjamin Hawkes-Lewis wrote: Toby A Inkster wrote: Opera implemented support for CSS's content property on real elements (as against pseudo-elements) a very long time ago (Opera 5 or 6 IIRC) but dropped it later on. Actually, content appears to be working with Opera 9.52 Mac and span

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Martin McEvoy
Martin McEvoy wrote: Benjamin Hawkes-Lewis wrote: Toby A Inkster wrote: Opera implemented support for CSS's content property on real elements (as against pseudo-elements) a very long time ago (Opera 5 or 6 IIRC) but dropped it later on. Actually, content appears to be working with Opera

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Benjamin Hawkes-Lewis
Martin McEvoy wrote: One question what is actually wrong with using an extension eg: span class=bday style=-uf-content:'1968-01-04';4th Jan, 1968/span apart from the CSS validation issues, which when you compare it with the current abbr and @title accessibility issues doesn't seem so bad to

Re: [uf-discuss] ISO Dates and Durations using Style

2008-09-28 Thread Martin McEvoy
Benjamin Hawkes-Lewis wrote: Martin McEvoy wrote: One question what is actually wrong with using an extension eg: span class=bday style=-uf-content:'1968-01-04';4th Jan, 1968/span apart from the CSS validation issues, which when you compare it with the current abbr and @title