- From: L. David Baron <dbaron@dbaron.org>
- Date: Thu, 29 Dec 2005 19:27:34 -0500
- To: www-style@w3.org
- Message-ID: <20051230002734.GA16345@ridley.dbaron.org>
On Thursday 2005-12-29 14:22 -0800, Andrew Fedoniouk wrote:
> background-image: url(nextpage.png);
> background-image-frame: 0px 0px 10px 10px;
This has already been proposed for replaced elements:
http://www.w3.org/TR/2003/WD-css3-content-20030514/#the-crop
and a more general solution that solves both problems at once (like the
one proposed in [1]) would be vastly preferable to adding a new property
for each property that accepts image values. For example:
background-image: image-rect(nextpage.png, 0px, 0px, 10px, 10px);
This value could then be used everywhere images can be used: 'content',
'list-style-image', etc.
Putting multiple images into a single raster image file is a common
technique in user-interface design and would improve the page loading
performance.
-David
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=113577#c3
--
L. David Baron <URL: http://dbaron.org/ >
Technical Lead, Layout & CSS, Mozilla Corporation
Received on Friday, 30 December 2005 00:27:43 UTC