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

[css3-background] does border-radius round the border-image ?

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 9 Jan 2009 15:36:16 -0800
To: www-style@w3.org
Message-ID: <20090109233616.GA16201@pickering.dbaron.org>

http://dev.w3.org/csswg/css3-background/#the-border-radius says:
  # Backgrounds, but not the border-image, are clipped to the inner,
  # resp., outer curve of the border if ‘background-clip’ is
  # ‘padding-box’ resp., ‘border-box’. Other effects that clip to
  # the border or padding edge (such as ‘overflow’) also must clip
  # to the curve. 

I can't tell if this is saying:
 1. border images are not clipped by the rounding from border-radius
 2. border images are always clipped by the outer edge of the curve
(It's not clear whether border-image is included or excluded from
"Other effects" given that it was excluded from the first part.)

For the record, according to
https://bugzilla.mozilla.org/show_bug.cgi?id=472561 , Webkit rounds
border images according to the border radius and Gecko does not.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 9 January 2009 23:36:51 GMT

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