W3C home > Mailing lists > Public > www-style@w3.org > May 2015

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

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 29 May 2015 09:20:46 +0200
Cc: www-style list <www-style@w3.org>
Message-Id: <1B74CBF4-A84F-4209-BA3A-07FAAA4FCAC5@rivoal.net>
To: Dean Jackson <dino@apple.com>

> 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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC