W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [css-masking][css4-background][css-images] 9-part sliced images (was: [css4-background] 9-part slicing images in background-image)

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 3 Jan 2014 07:40:52 +0000
To: "liam@w3.org" <liam@w3.org>
CC: Rik Cabanier <cabanier@gmail.com>, Tab Atkins Jr. <jackalmage@gmail.com>, Jet Villegas W3C <w3c@junglecode.net>, Dean Jackson <dino@apple.com>, "Brad Kemper" <brad.kemper@gmail.com>, www-style list <www-style@w3.org>, "Simon Fraser" <simon.fraser@apple.com>
Message-ID: <3A8562B8-BE72-45D3-A520-E1959DD02F3D@adobe.com>

On Jan 3, 2014, at 8:06 AM, Liam R E Quin <liam@w3.org> wrote:

> On Thu, 2014-01-02 at 21:40 -0800, Rik Cabanier wrote:
> [...]
>> Ok, I see. This is not about implementing 9-slice scaling; you're defining
>> a new image function that can do everything that border-image does (which
>> includes 9-slice scaling)
>> 
>> You probable want to add the 'fill' keyword as well [1]
>> 
>> 1: http://dev.w3.org/csswg/css-backgrounds/#border-image-slice-fill
> 
> If border-image were to be extended I'd for sure want to see more
> traditional 16-part border images (plus middle) - they are like the
> 9-part we have now but with centre images in each segment, and allowing
> the extensible parts between corner and middle to differ on each side of
> centre:

Liam, searching for "16 slice scaling” gives no results for 16 slice scaling but exclusively for “9 slice scaling”. I fear that 16 tiles is too complex to handle for authors anyway. I am not even sure which graphics tool does support 16 tiles today. Do you have more information about current support for 16 slice scaling in productive tooling?

Greetings,
Dirk

> 
> * >>>>>>> v <<<<<<< *
> 
> and so on all round. This is what has traditionally been used in print,
> and I don't see why the Web should be second-class.  Yes, there are more
> complex borders used in print, and simpler ones, but once you get more
> than sixteen segments you're into SVG or images, there's very little
> commonality after that. Plus it would get too complex for authors!
> 
> The 16-part model is also found in CSS today in Paged media for running
> headers and footers, so there is precedent and even names for the
> various segments.
> 
> Liam
> 
> -- 
> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
> Pictures from old books: http://fromoldbooks.org/
> Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
> 
Received on Friday, 3 January 2014 07:41:26 UTC

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