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

Re: [CSS3, border-radius] and now is real fun.

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Tue, 25 Aug 2009 15:01:48 -0700
To: Andrew Fedoniouk <news@terrainformatica.com>, W3C Emailing list for WWW Style <www-style@w3.org>
Message-ID: <20090825150148.06ad968c@trurl>
Andrew Fedoniouk <news@terrainformatica.com> wrote:
> Slightly dashed and slightly dotted sounds like "slightly pregnant"
> for me.
> Or does CSS allow such state? If "yes" then how. If "no" then also
> how. We cannot just be silent about it.

Sure we can.  It's perfectly fine for the rendering of style
transitions around curved corners to be unspecified in Level 3.

> If it is undefined then we need to say so clearly and to provide any 
> reasonable fall-back. I personally do not see any other options
> other than treating corner curves as having solid color always.
> But that's me, AFAIR someone here said that they have a solution and
> current rendering in Mozilla is just a bug. So asking.

That was me.

To be clear, when I said "current rendering in Mozilla is just a bug" I
was thinking first of this case:

  border-style: dotted;
  border-radius: <nonzero>

where the dots obviously should continue around the corner curve.
Mozilla currently draws that with solid corners, and that's a bug.
(Specifically, https://bugzilla.mozilla.org/show_bug.cgi?id=382721 .)

Mozilla has no current plans to implement anything but sharp
transitions in the middle of the corner. I would argue that that is
clearly preferable to "always draw the corner as solid", no matter what
the adjoining styles are.

For the specific case of dotted transitioning to dashed I do not see
what would be wrong with having the dots stretch into dashes along the
curve; the pregnancy analogy makes no sense.

Received on Tuesday, 25 August 2009 22:02:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:38 UTC