ChavezArquitectos / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

No support for border-radius shortcut #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
All of the implementations of 'border-radius' allow for the shorthand 
syntax:
border-radius: 10px 20px 30px 40px; /* Should set all 4 corners */

What steps will reproduce the problem?

---
1. Download the attached 'shorthand-proof.html'
2. Open in Internet Explorer

What is the expected output? What do you see instead?

---
To see expected output open the file in Safari, Chrome or FireFox.
Instead (in IE) we get a JavaScript error:
Line: 1
Error: '1' is null or not an object

What version of the product are you using? On what operating system?

---
Internet Explorer 8.0.7600.16385
Windows 7

Additional information

---
This may seem like a trivial thing, but it is *very* annoying to have to 
write:
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomright: 20px;
    -moz-border-radius-bottomleft: 20px;
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
Instead of:
    border-radius: 0 20px 20px 20px;
    -moz-border-radius: 0 20px 20px 20px;
    -webkit-border-radius: 0 20px 20px 20px;

Original issue reported on code.google.com by robinwinslowmorris on 17 Mar 2010 at 1:42

Attachments:

GoogleCodeExporter commented 8 years ago
I will look into supporting this in the near future.

Original comment by c.1%smit...@gtempaccount.com on 19 Mar 2010 at 11:11

GoogleCodeExporter commented 8 years ago
The -webkit-border-radius shortcut isn't actually supported by Safari for 
Windows. So 
no, not all the implementations do support it.

Opera 10.5, Chrome and Firefox do support it, the first two using CSS3 syntax, 
the 
latter using -moz-border-radius property.

Original comment by c.1%smit...@gtempaccount.com on 20 Mar 2010 at 6:05