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

[css3-background] border-image-slice

From: Liam R E Quin <liam@holoweb.net>
Date: Mon, 17 May 2010 17:36:01 -0400
To: www-style@w3.org
Message-ID: <1274132161.3425.104.camel@desktop.barefootcomputing.com>
I was looking at border-image-slice with a view to suggesting adding the
facility to xsl-fo 2.0, but I was surprised to see only 8 image segments
are supported, rather than  more traditional 12 or 15:

+===   ===   =+=   ===   ===+
|*..   ...   . .   ...   ..*|
|:                         :|

|:                         :|

/                           \ 
+                           + 
\                           / 

|:                         :|

|:                         :|
|*..   ...         ...   ..*|
+===   ===   \_/   ===   ===+

For example, see [1] or [2]; the first of these was actually engraved,
but the second is made from separate repeated pieces of metal type.

The centre pieces are, of course, centred; ideally, optically centred,
which means slightly above the geometrical centre.

In practice, there were usually only four straight extender pieces
supplied -- they have to join up if the designer chooses to omit the
centre-piece.

I'm sorry not to have noticed this in my earlier review (assuming it
didn't change). It seems to me that adding two extra optional numbers to
border-image-slice for the four centre-pieces would accommodate my
request, optionally giving 12 regions instead of nine.

Thanks,

Liam

[1]
http://www.fromoldbooks.org/Aubrey-HistoryOfEngland-Vol2/pages/438-Border-of-twigs/
[2]
http://www.fromoldbooks.org/Fournier-ManuelTypographique-VolII/pages/133-Figures-pour-les-Missels/

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Inconstant Blog at http://www.barefootliam.org/
Received on Monday, 17 May 2010 21:49:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT