W3C home > Mailing lists > Public > www-style@w3.org > October 1998

RE: Display Property Suggestion

From: Gabriel Paiz III <gpaiz@vftis.com>
Date: Fri, 30 Oct 1998 12:16:28 -0800
Message-ID: <B1427DD8DA56D1118F5500805FE4A7BE03146E@IRVINE>
To: "'Ian Hickson'" <py8ieh=www-style@bath.ac.uk>
Cc: "'Daniel.Glazman@der.edf.fr'" <Daniel.Glazman@der.edf.fr>, www-style@w3.org
In regards to this extension suggestion:

> The display property should be extended to also take a url() in
> conjunction with one of the keywords, thus:
> 
>   [ inline | block | list-item | run-in | compact | 
>     marker | table | inline-table | table-row-group |
>     table-header-group | table-footer-group | table-row |
>     table-column-group | table-column | table-cell |
>     table-caption ] <uri>? | none | inherit
> 

Can <uri>? be replaced with:

 [[<uri>, ]*  [missing | <some other defaults> | none]]?

to handle MIA replaced content?  This would be a parallel construction
to how cursors are handled:

	[18.1] If the user agent cannot handle the first cursor of a
list of cursors, it
	should attempt to handle the second, etc. If the user agent
cannot handle
	any user-defined cursor, it must use the generic cursor at the
end of the list.

As a side effect, developers could implement their own custom 'broken
image', 'broken object' icons. 

> This can actually cope with the IMG element too:
> 
>    img:before { display: inline url(attr(src)); content: attr(alt); 
>                 width: auto; height: auto; }
> 

The above would become:

    img:before { display: inline url(attr(src)), url("mia.png"),
missing; content: attr(alt); 
                 width: auto; height: auto; }

__________________________________
SPX - Valley Forge T.I.S.
25691 Atlantic Ocean Drive Suite B-7
Lake Forest, CA 92630
USA
__________________________________

Tel:	(949) 460 0094
Fax:	(949) 460 0095
e-Mail:	gpaiz@vftis.com
__________________________________
Received on Friday, 30 October 1998 15:06:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:56 GMT