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

RE: [css3-images] Resolving on gradient issues

From: Brian Manthos <brianman@microsoft.com>
Date: Thu, 4 Aug 2011 17:45:30 +0000
To: Brad Kemper <brad.kemper@gmail.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D171122D5@TK5EX14MBXC264.redmond.corp.microsoft.com>
Brad Kemper:
> That is a slanted way of characterizing it. The way I see it,
> 'repeating-linear-gradient' is a way of simulating 'background-repeat'
> on a possibly rotated canvas. background-repeat can already create a
> repeating gradient (it just doesn't look good when the gradient path is
> angled).

Background-repeat has a specific meaning and capabilities.

Let's not distort the meaning of background-repeat to include "if the <image> is gradient, then adjust the used background-size, apply a transform to that layer of background image rendering, and change the gradient brush such that ...".

If you want to making 'repeat'/'no-repeat' a parameter of linear-gradient or radial-gradient (rather than a different function name), that's a reasonable proposal.

But let's not do bizarre things with background-repeat.
Received on Thursday, 4 August 2011 17:45:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:48 UTC