A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://lists.w3.org/Archives/Public/www-style/2012Mar/0605.html below:

[css3-background] slash('/') in border-image shorthand (again) from fantasai on 2012-03-27 (www-style@w3.org from March 2012)

On 03/07/2012 04:40 PM, Kang-Hao (Kenny) Lu wrote:
>
> I'll point out one more oddness with the current syntax. Like any issue
> related to syntax, this is in some sense only about aesthetics.
>
> Currently, the syntax component after<'border-image-slice'>  is an optional
>
>    [/<‘border-image-width’>? [ /<‘border-image-outset’>  ]?]
>
> . This has two implications:
>
> 1. A trailing slash is valid.
>
> 2. Two trailing slashes are not valid.
...
> I have four proposals to address these:
>
> A. Leave the current syntax as it is.
> B. Allow more tailing slashes.
> C. Disallow trailing slash at the end.
> D. Disallow empty component.

We went with option C, which was the original intent. The corrected
grammar follows:
   <‘border-image-slice’> [ / <‘border-image-width’> |
                            / <‘border-image-width’>? / <‘border-image-outset’> ]?

Please let us know if this satisfies your comment.

~fantasai

Received on Tuesday, 27 March 2012 21:26:40 UTC


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4