At some point soon I'm going to need to Thebes-ify background rendering, 
and I thought I'd add support for background gradients at the same time. 
  The underlying code is trivial, just coming up with a sane way of 
specifying it is hard.

I've written up some thoughts at 
http://wiki.mozilla.org/User:VladVukicevic/CSS_Background_Gradient .

Some key abilities I'd like to preserve:

* Gradients along any arbitrary line.
* One or more color stops at specified positions along that line.

Some questions:

* Does the gradient replace the background color; that is, painted 
instead of the backgronud color?  Or is it painted over the background 
color?

* Is preserving some ability to still do gradients using images on 
non-Gecko browsers worthwhile?  (This is what the last chunk of the 
proposal above tries to fix -- a way to tell gecko to ignore any 
background image.)

* The proposed syntax for -moz-background-gradient really sucks, but I 
have a hard time coming up with anything better.

Thoughts?

    - Vlad

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to