- From: Bonner, Matt (IPG) <matt.bonner@hp.com>
- Date: Tue, 15 Apr 2008 23:11:16 +0000
- To: Andrew Fedoniouk <news@terrainformatica.com>, David Hyatt <hyatt@apple.com>
- CC: "www-style@w3.org" <www-style@w3.org>
- Message-ID: <368F79A511563D43ADADF8B99EB82F1B40C288EC@G3W0637.americas.hpqcorp.net>
David Hyatt wrote: > I raised an issue a while back about not being able to clip out the > center of a border-image. It's wasteful that this part always draws. Andrew Fedoniouk wrote: > As far as I understand the idea of the border image it is possible to > make an image (say PNG) with fully transparent middle section. > Why do you need that clipping then? Wouldn't a UA still have to read (and possibly scale) the entire image and draw all those central, transparent pixels in that case? It seems like the UA could safely avoid even accessing those pixel values if it knew they were to be clipped out. Matt -- Matt Bonner Hewlett-Packard Company -----Original Message----- From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Andrew Fedoniouk Sent: Tuesday, April 15, 2008 3:10 PM To: David Hyatt Cc: www-style@w3.org Subject: Re: Clipping a border-image David Hyatt wrote: > > I raised an issue a while back about not being able to clip out the > center of a border-image. It's wasteful that this part always draws. > I was thinking that another cool feature for border-image would be if > you could clip the border-image to the actual strokes being drawn. > > A single clip keyword could cover both cases, either via a new > property, border-image-clip, or just as an optional part of the > border-image declaration. Clipping to the shape of the original > border stroke would take care of my desire to clip out the middle and > also open up a nice range of options for border-image. > > dave > (hyatt@apple.com) > As far as I understand the idea of the border image it is possible to make an image (say PNG) with fully transparent middle section. Why do you need that clipping then? -- Andrew Fedoniouk. http://terrainformatica.com
Received on Tuesday, 15 April 2008 23:12:50 UTC