Re: Display Property Suggestion

Ian Hickson wrote:
>This means we extended 'content' as follows:
>
>   [ <uri> "," ]*
>   [ <string> | <uri> | <counter> | attr(X) | open-quote |
>      close-quote | no-open-quote | no-close-quote ]*
>    | inherit
This can still be extended:
   [ [ <string> | <uri> | <counter> | attr(X) | open-quote |
       close-quote | no-open-quote | no-close-quote ]* ,]*
     [ <string> | <counter> | attr(X) | open-quote |
       close-quote | no-open-quote | no-close-quote ]*
     | inherit

For replaced elements (not :before and :after), <counter> and quotes are
not allowed - I don't think it makes sense. So it looks like this:
   [ [ <string> | <uri> | attr(X) ]* ,]*
     [ <string> | attr(X) ]*
     | inherit

This way, you
a) have to provide an alternative without an uri, so that something
reasonable is always displayed,
b) the first uris can also be combined with text.

>Yes, this is nice, although we don't need a keyword since we can just
>say (as you did above) that an empty content is equivalent to drawing
>the element's content.
I would still suggest to use some keyword, because I think a list that
ends with a comma is ugly, and this syntax might easily lead to
mistakes.

Christian Kaufhold

Received on Friday, 30 October 1998 21:43:15 UTC