This is nice as a basic-level script to apply border-radius on
browsers that support it. That said, it's missing a couple things:
Webkit (and/or Opera?) supports two radius arguments for each corner,
which allows the corner to be morphed into a more oval shape. To my
knowledge, Firefox doesn't
Yes, unfortunately I know it can't go into the core as it does not support
IE.
But, the two value radius is accepted by this function of mine. I just
didn't know it existed =).
If you call $(id_elemente).setBorderRadius(20px 40px) on Chrome, it will
display its oval shape.
Thanks for the info
http://ie.microsoft.com/testdrive/HTML5/01BorderRadius/Default.html
Looks like IE9 will at least partially support border-radius. But by
that demo (designed for the IE9 preview), it looks like it'll only
support the single radius dimension per corner. i guess that's
something to look forward to.