W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [css3-background] Color of ridge/groove/inset/outset border styles

From: Gérard Talbot <www-style@gtalbot.org>
Date: Tue, 28 May 2013 23:27:52 -0400
Message-ID: <24af058e35b5dab40616dcdc155b9c1a.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Simon Sapin" <simon.sapin@exyr.org>
Cc: "W3C www-style mailing list" <www-style@w3.org>

Le Mer 22 mai 2013 2:47, Simon Sapin a écrit :
> Hi,
> A very low-priority, but annoying detail:
> The ridge, groove, inset and outset border styles are defined with
> "Looks as if …" and leaves not hint as to how to do that.
> The rendering
> in different implementations varies a bit but that’s fine, the normative
> definition doesn’t need to be more precise.
> Still, I’d like the spec to have a note that gives an algorithm
> describing how to generate two colors (one dark and one light) from a
> single specified border-*-color

FYI, Microsoft (in IE9 and IE10) claims to pass these 2 tests:



but such border styles do not look as if they are embedded into the
surface (or as if the content on the inside of the border is sunken into
the canvas) or sticks out of the surface (or as if the content on the
inside of the border is coming out of the canvas.).

Such issue was reported some 14 years ago:

3D styles rendered as solid when border-color is dark

Bug 6: 3D border styles rendered as solid when color is dark

> in order to get the example rendering in
> Figure 5. I came up with *something* for WeasyPrint, but it just looks
> bad.

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Wednesday, 29 May 2013 03:28:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC