Re: intrinsicRatio and the CSS min/max algorithm

On Aug 9, 2013, at 12:42 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> Initially intrinsic sizing of SVG was just totally broken (what WebKit implements).  It was changed to actually play nice with CSS (what Gecko and Presto implement).

ok, I didn't know the history...

> If you think more changes would make it even better, please propose specific ones as you have, but at this point what you _really_ want is for WebKit to actually update its implementation of SVG, whether to what's specced now or to what you're proposing....

Oh, I didn't come here to file a blink bug…. that was just an concrete example. Besides, I will bet hard cash that SVG2 will be in the can before we see a stable patch for that bug shipping in Safari :)

My point was actually sympathetic: that webkit/blink honoring SVG percentage-unit attributes as css values is very plausible and logical in principle. Though it's technically wrong per the SVG1.1 spec, it, actually makes more sense in terms of a unified SVG + HTML IDL for dimensions. This corner of the SVG spec is baffling to non-experts. Even a serious tech guru like you had to be reminded of it. It's not intuitive. And that's why I think the spec should change, to allow passing in intrinsic ratios for SVG independent of the dimension elements. I think the bug illustrates the need for the spec to evolve, not vice-versa.

-Ben

Received on Friday, 9 August 2013 22:15:55 UTC