Re: [css-backgrounds] border-image with an SVG resource that has no intrinsic size

> On 29 May 2015, at 03:51, Dean Jackson <dino@apple.com> wrote:
> 
> I'm not sure if this is a UI spec thing, or borders, or something that's just fallen through the cracks. WebKit recently landed a change to make border-image with an SVG resource, that has no intrinsic size, behave like Firefox.
> 
> https://bugs.webkit.org/show_bug.cgi?id=139405 <https://bugs.webkit.org/show_bug.cgi?id=139405>
> 
> Example/Test is here: http://trac.webkit.org/export/184972/trunk/LayoutTests/fast/borders/border-image-fill-no-intrinsic-size.html <http://trac.webkit.org/export/184972/trunk/LayoutTests/fast/borders/border-image-fill-no-intrinsic-size.html>
> 
> Chrome had the same behaviour as WebKit did, before the change. I haven't tested on IE/Edge (sorry... I really need to set up a login).
> 
> It's not completely clear what the best thing to do in this case is, but we think the Firefox behaviour was better. Is this specified anywhere? We'd really like to encourage people to not put an intrinsic size in their SVG.

Looks like a good question, but out of scope for css-ui. That spec only cares about sizing with regards to the box-sizing property, which isn't involved here.
Tagging [css-backgrounds], as it does involve the border-image property.

 - Florian

Received on Friday, 29 May 2015 07:21:12 UTC