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

[CSS3] border-radius, border-image and drawing order.

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 15 Aug 2009 12:33:32 -0700
Message-ID: <4A870D8C.3030609@terrainformatica.com>
To: "www-style@w3.org" <www-style@w3.org>
Consider following style and markup:

       width:100px; height:100px;
       border-radius:50%; /* that means border is a
                             perfect circle */

<div>Some text</div>

Shall border be drawn on top of the text or behind it?
That is the question.

If border is a part of background as current spec implies
then text should be drawn on top of the border.

But what about border-image?
If it is drawn behind the content layer then
this border-image makes almost no practical sense.

Why not to use that multi-background feature and
to drop this border-image completely then?

Andrew Fedoniouk.

Received on Saturday, 15 August 2009 19:34:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC