Re: [whatwg] Color attributes

2009-02-13 Thread Ian Hickson
On Wed, 11 Feb 2009, Simon Pieters wrote: On Wed, 11 Feb 2009 01:22:59 +0100, Ian Hickson i...@hixie.ch wrote: On Thu, 16 Oct 2008, Simon Pieters wrote: Color attributes in HTML have special processing. [...] It seems that some pages use three-digit notation and expect it to

Re: [whatwg] Color attributes

2009-02-10 Thread Ian Hickson
On Thu, 16 Oct 2008, Simon Pieters wrote: Color attributes in HTML have special processing. [...] It seems that some pages use three-digit notation and expect it to work as in CSS. I've made the algorithm do that and I've drafted up a spec for this:

Re: [whatwg] Color attributes

2009-02-10 Thread Simon Pieters
On Wed, 11 Feb 2009 01:22:59 +0100, Ian Hickson i...@hixie.ch wrote: On Thu, 16 Oct 2008, Simon Pieters wrote: Color attributes in HTML have special processing. [...] It seems that some pages use three-digit notation and expect it to work as in CSS. I've made the algorithm do that and I've

Re: [whatwg] Color attributes

2008-10-17 Thread Simon Pieters
On Fri, 17 Oct 2008 00:01:02 +0200, Andy Lyttle [EMAIL PROTECTED] wrote: While the first item's length in segments is greater than 2 and the first character in each item in segments is a U+0030 DIGIT ZERO character, remove the first character from each item in segments. Does this mean, if

Re: [whatwg] Color attributes

2008-10-16 Thread Simon Pieters
On Thu, 05 Jul 2007 23:43:55 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Color attributes in HTML have special processing. It seems that some pages use three-digit notation and expect it to work as in CSS. I've made the algorithm do that and I've drafted up a spec for this:

Re: [whatwg] Color attributes

2008-10-16 Thread Andy Lyttle
While the first item's length in segments is greater than 2 and the first character in each item in segments is a U+0030 DIGIT ZERO character, remove the first character from each item in segments. Does this mean, if the length of the first item in segments is greater than 2 then loop

Re: [whatwg] Color attributes

2007-10-01 Thread Simon Pieters
On Fri, 24 Aug 2007 19:05:06 +0200, Simon Pieters [EMAIL PROTECTED] wrote: [...] http://simon.html5.org/test/html/parsing/color-attributes/the-algorithm/ Do we want to do this for quirks mode only? IE7 does it for standards mode as well, but Opera, Firefox and Safari have different

Re: [whatwg] Color attributes

2007-08-24 Thread Simon Pieters
On Thu, 23 Aug 2007 19:18:41 +0200, Simon Pieters [EMAIL PROTECTED] wrote: For reference, the complete algorithm would be: Hmm, there needs to be a step before the first one, actually: 1. If the value is the empty string, act as if the attribute was absent and abort these steps.

Re: [whatwg] Color attributes

2007-08-23 Thread Simon Pieters
On Fri, 27 Jul 2007 13:07:26 +0200, Simon Pieters [EMAIL PROTECTED] wrote: On Thu, 05 Jul 2007 23:43:55 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Color attributes in HTML have special processing. Some tests/demos: http://simon.html5.org/test/html/parsing/color-attributes/

Re: [Whatwg] [whatwg] Color attributes

2007-07-27 Thread Simon Pieters
On Thu, 05 Jul 2007 23:43:55 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Color attributes in HTML have special processing. Some tests/demos: http://simon.html5.org/test/html/parsing/color-attributes/ https://bugzilla.mozilla.org/attachment.cgi?id=188040 contains further tests and an