- From: R.J.Koppes <rikkert@rikkertkoppes.com>
- Date: Wed, 24 Aug 2005 11:33:00 +0200
- To: "Ian Hickson" <ian@hixie.ch>, <adelfino@gmail.com>
- Cc: <www-style@w3.org>
Maybe we could say that the color of the lower right pixel is defined by two rules. (border-right and border-bottom). If they "conflict" (meaning the UA has to choose between the two / half-and-haf rendering is not possible), the latter rule must be followed? In this case, the lower right pixel would be red (following border-bottom) and the lower left pixel would be blue (following border-left). Rikkert Koppes http://www.rikkertkoppes.com ----- Original Message ----- From: "Ian Hickson" <ian@hixie.ch> To: <adelfino@gmail.com> Cc: <www-style@w3.org> Sent: Wednesday, August 24, 2005 1:13 AM Subject: Re: [CSS3 Backgrounds and Borders Module] : 1 pixel corner color > > On Tue, 23 Aug 2005 adelfino@gmail.com wrote: > > > > I would like CSS3 Backgrounds and Borders Module to define what should > > the user agent do when something like this: > > > > div.a { > > > > border-top: 1px solid blue; > > border-right: 1px solid blue; > > border-bottom: 1px solid red; > > border-left: 1px solid blue; > > > > } > > > > Because, what color should be the lower right corner? Blue or red? > > Both (half and half). On platforms where "1px" maps to one device pixel, > such as low-res monitors, the UA is allowed to approximate in a UA-defined > manner. CSS does not attempt to specify how implementation should > approximate the "perfect" rendering when taking into account device > limitations. (For example, it also doesn't say what should happen if the > device can't render "blue" and "red" as different colours.) > > -- > Ian Hickson U+1047E )\._.,--....,'``. fL > http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. > Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.' > >
Received on Wednesday, 24 August 2005 09:39:19 UTC