- From: MURAKAMI Shinyu <murakami@antenna.co.jp>
- Date: Thu, 08 Jan 2009 08:28:18 +0900
- To: www-style@w3.org
I'm curious about the border-radius shorthand syntax. http://www.w3.org/TR/css3-background/#the-border-radius While non-shorthand border-*-radius properties have the following syntax Value: <length> <length>? where whitespace is the separator between horizontal and vertical radius, the following shorthand syntax (comma separated) would be more natural and consistent Value: <length> <length>? [ , <length> <length>? ]{0,3} (it means: <'border-top-left-radius'>, <'border-top-right-radius'>, <'border-bottom-right-radius'>, <'border-bottom-left-radius'> ) rather than the current CSS3 draft's syntax Value: <length>{1,4} [ / <length>{1,4} ]? (it means: <'border-top-left-radius-X'> <'border-top-right-radius-X'> <'border-bottom-right-radius-X'> <'border-bottom-left-radius-X'> / <'border-top-left-radius-Y'> <'border-top-right-radius-Y'> <'border-bottom-right-radius-Y'> <'border-bottom-left-radius-Y'> ) where '/' is used for separator between horizontal and vertical radii, and the comma separated syntax would be upper compatible with the old draft's border-radius syntax http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-border-radius Name: border-top-right-radius, border-bottom-right-radius, border-bottom-left-radius, border-top-left-radius, border-radius Value: <length> <length>? that was already implemented by some vendors (including webkit, Prince, Antenna House). Is it too late to reconsider about the border-radius shorthand syntax? -- Shinyu Murakami http://www.antennahouse.com Antenna House Formatter http://www.antenna.co.jp/AHF/en/
Received on Wednesday, 7 January 2009 23:29:07 UTC