W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-images] aliasing and repeating-linear-gradient

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 12 Oct 2011 12:45:56 -0700
Message-ID: <CAAWBYDCz_qT0G3LGEt8BfbdRPwhbqBHzar5HqY8dp7bdgL7RKw@mail.gmail.com>
To: Brian Manthos <brianman@microsoft.com>
Cc: Alan Gresley <alan@css-class.com>, CSS 3 W3C Group <www-style@w3.org>
On Wed, Oct 12, 2011 at 12:37 PM, Brian Manthos <brianman@microsoft.com> wrote:
> Looking at the first example...
>
> background: -ms-repeating-linear-gradient(left, red 0%, red 0.1%, lime 0.1%,
> lime 0.2%, blue 0.2%, blue 0.3%);
>
> When the IE PPB2 window is resized to  ~1300 pixels, the rendering is
> approximately this pattern repeated:
> http://lists.w3.org/Archives/Public/www-archive/2011Oct/att-0008/AlanRepeatingPattern1.png
>
> While there is a cyclic bright/dark effect occurring, I don’t think this is
> a non-conformant relative to the current WD.

Correct, this is a conformant rendering.  The UA has some leniency on
when it "knows that the physical resolution of the output device is
insufficient to faithfully render the gradient" and must switch to
rendering the average color.

~TJ
Received on Wednesday, 12 October 2011 19:46:44 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT