<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CSSWG RFC: border-image Issues and Other Topics</title>
	<atom:link href="http://www.css3.info/border-image-issues/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.css3.info/border-image-issues/</link>
	<description>All you ever needed to know about CSS3</description>
	<lastBuildDate>Tue, 07 Feb 2012 18:52:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Giorgio Liscio</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-259143</link>
		<dc:creator>Giorgio Liscio</dc:creator>
		<pubDate>Thu, 13 May 2010 20:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-259143</guid>
		<description>hi Fantasai, i&#039;ve suggested (in private mail to bert bos) to remove border-image-outset in favor of negative padding values

border-image-outset:4px 3px 2px 1px;
padding:-4px -3px -2px -1px;

what do you think about this?</description>
		<content:encoded><![CDATA[<p>hi Fantasai, i&#8217;ve suggested (in private mail to bert bos) to remove border-image-outset in favor of negative padding values</p>
<p>border-image-outset:4px 3px 2px 1px;<br />
padding:-4px -3px -2px -1px;</p>
<p>what do you think about this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sagar Ranpise</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-257864</link>
		<dc:creator>Sagar Ranpise</dc:creator>
		<pubDate>Wed, 27 Jan 2010 06:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-257864</guid>
		<description>Hi Fantasai,

Nice article, I have an issue, If the border is having radius such that the border is round may be a disc shape and if I need to apply border image to the circle is it possible as the border image is coming as square.

Thanks &amp; Regards,
Sagar S. Ranpise</description>
		<content:encoded><![CDATA[<p>Hi Fantasai,</p>
<p>Nice article, I have an issue, If the border is having radius such that the border is round may be a disc shape and if I need to apply border image to the circle is it possible as the border image is coming as square.</p>
<p>Thanks &amp; Regards,<br />
Sagar S. Ranpise</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liviu A.</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-248285</link>
		<dc:creator>Liviu A.</dc:creator>
		<pubDate>Wed, 01 Jul 2009 13:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-248285</guid>
		<description>Yeah, well good explain, I followed the link to w3.org, now I can try new experiments with images :). 
Many thanks!
Liviu</description>
		<content:encoded><![CDATA[<p>Yeah, well good explain, I followed the link to w3.org, now I can try new experiments with images :).<br />
Many thanks!<br />
Liviu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad (Kemper)</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-244972</link>
		<dc:creator>Brad (Kemper)</dc:creator>
		<pubDate>Fri, 05 Jun 2009 16:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-244972</guid>
		<description>I think most authors can see the value in having a fallback color for when the image doesn&#039;t load. For instance, when the background image has transparent areas, then the background-color needs to be transparent, but when the image is completely missing then you need some color there instead to make the text readable. 

For me the real issue is not if, but how it is specified. 

The current draft has it as part of the background-color property value, for example background-color:transparent/black. Now I know authors are smart enough to learn what that means, but it is not intuitive. To someone getting started with CSS, you have to explain that one of those colors is a fallback color; it&#039;s the one AFTER the slash, and its not a fallback for the other color in the same property, but rather a fallback for a completely different property (background-image). 

In other properties that have fallback values (such as font-family), the values are all listed in order of preference within the same property declaration. That is what I&#039;d like to see for fallback color: that background-image can list two or more items to be used as fallbacks, in order of preference. For instance, the first could be an SVG, then a PNG, then a GIF, then a solid color. If the software didn&#039;t support one then it could use the next one on the list. And if it didn&#039;t support images at all (or images are turned off or not yet loaded) then it would use the last item, a solid color background instead.</description>
		<content:encoded><![CDATA[<p>I think most authors can see the value in having a fallback color for when the image doesn&#8217;t load. For instance, when the background image has transparent areas, then the background-color needs to be transparent, but when the image is completely missing then you need some color there instead to make the text readable. </p>
<p>For me the real issue is not if, but how it is specified. </p>
<p>The current draft has it as part of the background-color property value, for example background-color:transparent/black. Now I know authors are smart enough to learn what that means, but it is not intuitive. To someone getting started with CSS, you have to explain that one of those colors is a fallback color; it&#8217;s the one AFTER the slash, and its not a fallback for the other color in the same property, but rather a fallback for a completely different property (background-image). </p>
<p>In other properties that have fallback values (such as font-family), the values are all listed in order of preference within the same property declaration. That is what I&#8217;d like to see for fallback color: that background-image can list two or more items to be used as fallbacks, in order of preference. For instance, the first could be an SVG, then a PNG, then a GIF, then a solid color. If the software didn&#8217;t support one then it could use the next one on the list. And if it didn&#8217;t support images at all (or images are turned off or not yet loaded) then it would use the last item, a solid color background instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-244964</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 05 Jun 2009 15:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-244964</guid>
		<description>With border image vs. box-shadow, there are a couple of points to note:

1. Yes, the author CAN set items with border-image to not have a box-shadow, and vice versa. The advantage of having them both specified in the CSS at the same time, but suppressing box-shadow, is that this allows you to have generated box shadows for browsers that have not yet implemented border-image or for people that have images turned off or for places where the images have not yet loaded or failed to load. But then, when border-images CAN be drawn, you have complete control over how they are drawn by editing them in the image editor. 

2. If we are to rely on the browser software to generate shadows via a mask based on the alpha channel of the images, then you have much less control. Is the mask drawn using the full alpha channel? For some images with a lot of translucence you may not want that, and only have a shadow along the edge. What if you want some pictures in the same border to appear closer or farther by having the shadows closer or farther, or sharper or fuzzier? What if you want different colored shadows for different parts of the image? What if on you want to decide on a case-by-case basis whether or not you want the effect that the padding box also has a shadow? These are all things that you can determine on your own in an image editor, but not if the software is determining where the mask goes. And since you&#039;re creating the images anyway, there is no extra &quot;cost&quot; to putting the shadow in that image.

3. If the browser software determines the mask for the shadow based on the image, this would not work for JPEG images, since they have no alpha channel or transparency. Any shadow drawn under the image would have to be determined by what, white pixels, drawn above the actual image? White might not be the color you want for determining your mask. 

4. The property is called &#039;box-shadow&#039;, not &#039;drop-shadow&#039;. If you use a non-rectangular mask, it is no longer a box shape. And if you don&#039;t use a mask, but just base the shadow on the border-box (as it works now in experimental implementations), then you always get a rectangular shadow shape that is rarely the shape you want (it only works for images with flat outer edges that line up with the border-box).</description>
		<content:encoded><![CDATA[<p>With border image vs. box-shadow, there are a couple of points to note:</p>
<p>1. Yes, the author CAN set items with border-image to not have a box-shadow, and vice versa. The advantage of having them both specified in the CSS at the same time, but suppressing box-shadow, is that this allows you to have generated box shadows for browsers that have not yet implemented border-image or for people that have images turned off or for places where the images have not yet loaded or failed to load. But then, when border-images CAN be drawn, you have complete control over how they are drawn by editing them in the image editor. </p>
<p>2. If we are to rely on the browser software to generate shadows via a mask based on the alpha channel of the images, then you have much less control. Is the mask drawn using the full alpha channel? For some images with a lot of translucence you may not want that, and only have a shadow along the edge. What if you want some pictures in the same border to appear closer or farther by having the shadows closer or farther, or sharper or fuzzier? What if you want different colored shadows for different parts of the image? What if on you want to decide on a case-by-case basis whether or not you want the effect that the padding box also has a shadow? These are all things that you can determine on your own in an image editor, but not if the software is determining where the mask goes. And since you&#8217;re creating the images anyway, there is no extra &#8220;cost&#8221; to putting the shadow in that image.</p>
<p>3. If the browser software determines the mask for the shadow based on the image, this would not work for JPEG images, since they have no alpha channel or transparency. Any shadow drawn under the image would have to be determined by what, white pixels, drawn above the actual image? White might not be the color you want for determining your mask. </p>
<p>4. The property is called &#8216;box-shadow&#8217;, not &#8216;drop-shadow&#8217;. If you use a non-rectangular mask, it is no longer a box shape. And if you don&#8217;t use a mask, but just base the shadow on the border-box (as it works now in experimental implementations), then you always get a rectangular shadow shape that is rarely the shape you want (it only works for images with flat outer edges that line up with the border-box).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Wilson</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-243893</link>
		<dc:creator>Jesse Wilson</dc:creator>
		<pubDate>Wed, 27 May 2009 17:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-243893</guid>
		<description>1. For border-image (center) clipping, option A makes the most sense if such an option were to be available. However, option C doesn&#039;t seem at all unreasonable.

2. For border-image syntax/properties, having separate properties available would be keeping inline with other CSS properties.

3. For border-image box-shadow interaction, proposal #1 seems the most reasonable.

4. For the image background-color interaction/fallback, the current spec reads clearly enough. Not sure where the confusion is. Seems like it would go towards the whole idea of graceful degradation.

5. Doesn&#039;t seem useful enough.</description>
		<content:encoded><![CDATA[<p>1. For border-image (center) clipping, option A makes the most sense if such an option were to be available. However, option C doesn&#8217;t seem at all unreasonable.</p>
<p>2. For border-image syntax/properties, having separate properties available would be keeping inline with other CSS properties.</p>
<p>3. For border-image box-shadow interaction, proposal #1 seems the most reasonable.</p>
<p>4. For the image background-color interaction/fallback, the current spec reads clearly enough. Not sure where the confusion is. Seems like it would go towards the whole idea of graceful degradation.</p>
<p>5. Doesn&#8217;t seem useful enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jive</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-241658</link>
		<dc:creator>jive</dc:creator>
		<pubDate>Wed, 13 May 2009 19:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-241658</guid>
		<description>On the third issue, why not recreate the shadow based on the borders, but tint them black and set the alpha to like 15%. If I was doing it in flash that is how I would do a shadow for something that had a unique border.</description>
		<content:encoded><![CDATA[<p>On the third issue, why not recreate the shadow based on the borders, but tint them black and set the alpha to like 15%. If I was doing it in flash that is how I would do a shadow for something that had a unique border.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John A. Bilicki III</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-240098</link>
		<dc:creator>John A. Bilicki III</dc:creator>
		<pubDate>Sun, 03 May 2009 08:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-240098</guid>
		<description>I imagine the border-clip: no-clip; property/value would be useful for :hover effects. In example if you moved your mouse over a background-image that was say a picture of stacked cookies...and you moved the mouse over the area of the element and it would change the background-image to show you that you knocked over the cookies. I think this would require more scripting to be done effectively but it would be cool to be able to use eventually.

The border-image and border-shadow should *BOTH* exist simultaneously and it&#039;s obvious that the shadow should *always* appear next to/under/over the border-image. If you&#039;re already using an image you can technically emulate the border-shadow over the image...but if you have to switch the border-image for some reason but you *HAVE* to keep the shadow then by disallowing them to coexist you could severely limit future design implementations.

When I&#039;m at the end of design/development of the given version of my website I enjoy messing with rendering-engine specific implementations of CSS3 so if this stuff gets done you can count me as an early adapter. I just really hope we will be able to completely manipulate *ALL* properties via JavaScript/DOM especially since browsers are apt to occasionally incorrectly implement a spec and later fix it.</description>
		<content:encoded><![CDATA[<p>I imagine the border-clip: no-clip; property/value would be useful for :hover effects. In example if you moved your mouse over a background-image that was say a picture of stacked cookies&#8230;and you moved the mouse over the area of the element and it would change the background-image to show you that you knocked over the cookies. I think this would require more scripting to be done effectively but it would be cool to be able to use eventually.</p>
<p>The border-image and border-shadow should *BOTH* exist simultaneously and it&#8217;s obvious that the shadow should *always* appear next to/under/over the border-image. If you&#8217;re already using an image you can technically emulate the border-shadow over the image&#8230;but if you have to switch the border-image for some reason but you *HAVE* to keep the shadow then by disallowing them to coexist you could severely limit future design implementations.</p>
<p>When I&#8217;m at the end of design/development of the given version of my website I enjoy messing with rendering-engine specific implementations of CSS3 so if this stuff gets done you can count me as an early adapter. I just really hope we will be able to completely manipulate *ALL* properties via JavaScript/DOM especially since browsers are apt to occasionally incorrectly implement a spec and later fix it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boen_robot</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-239706</link>
		<dc:creator>boen_robot</dc:creator>
		<pubDate>Wed, 29 Apr 2009 23:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-239706</guid>
		<description>@fantasai
Oh... I see... I though we were talking about fallback colors on border-image. Well in that case - I for one don&#039;t really need such a secondary color. I already think of background-color as an integral (read: important) part of the design - one that is always applied, and I make my designs so that they look well (not so shiny of course, but still readable) even without images exactly because of and thanks to that.

On the other hand, seeing what this does*, I can imagine some scenarios where this might be useful. Overall, I can live without it (so if the WG thinks of getting rid of it, I won&#039;t be advocating against it), but it would be nice to have it if it isn&#039;t troublesome.

*BTW, the idea is not as hard to grasp as WG members think. It did require a certain brain power to think of a use case, but not to understand what it does.</description>
		<content:encoded><![CDATA[<p>@fantasai<br />
Oh&#8230; I see&#8230; I though we were talking about fallback colors on border-image. Well in that case &#8211; I for one don&#8217;t really need such a secondary color. I already think of background-color as an integral (read: important) part of the design &#8211; one that is always applied, and I make my designs so that they look well (not so shiny of course, but still readable) even without images exactly because of and thanks to that.</p>
<p>On the other hand, seeing what this does*, I can imagine some scenarios where this might be useful. Overall, I can live without it (so if the WG thinks of getting rid of it, I won&#8217;t be advocating against it), but it would be nice to have it if it isn&#8217;t troublesome.</p>
<p>*BTW, the idea is not as hard to grasp as WG members think. It did require a certain brain power to think of a use case, but not to understand what it does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chip Cullen</title>
		<link>http://www.css3.info/border-image-issues/comment-page-1/#comment-239164</link>
		<dc:creator>Chip Cullen</dc:creator>
		<pubDate>Fri, 24 Apr 2009 13:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.css3.info/?p=339#comment-239164</guid>
		<description>@fantasai - everything i had (thought i) read about the background-size property seemed to only include pixels and percentages. now, i can&#039;t seem to find any of those pages that i read that on, so i have egg on my face. i just re-read the W3 working spec, and you&#039;re completely right. sorry for the thread pollution.</description>
		<content:encoded><![CDATA[<p>@fantasai &#8211; everything i had (thought i) read about the background-size property seemed to only include pixels and percentages. now, i can&#8217;t seem to find any of those pages that i read that on, so i have egg on my face. i just re-read the W3 working spec, and you&#8217;re completely right. sorry for the thread pollution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!--
This site's performance optimized by W3 Total Cache:

W3 Total Cache improves the user experience of your blog by caching
frequent operations, reducing the weight of various files and providing
transparent content delivery network integration.

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/


Served from: css3.info @ 2012-02-08 08:36:38 -->
