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

Display Property Suggestion

From: Gabriel Paiz III <gpaiz@vftis.com>
Date: Fri, 23 Oct 1998 09:10:56 -0700
Message-ID: <B1427DD8DA56D1118F5500805FE4A7BE031462@IRVINE>
To: www-style@w3.org
I have a suggestion, but really it's more of an is it a possibility
question.  in CSS2 an arbitrary XML element can be assigned the
element-type(?) of a table cell by declaring the display property with a
value of 'table-cell':

    VBOX { display: table-cell } 

Would it be possible to extend 'display' to take a value like:

 display: image(src=myAttribute1, alt=myAttribute2,  etc.)

e.g.-

graphic { display: image(src= attr(GRAPHICNAME))}	

where 'graphic' would be an element in my XML as in this fragment:

<FIGURE>
	<TITLE>A Title in a Sample Figure</TITLE>
	<GRAPHIC GRAPHICNAME="your.gif"></GRAPHIC>
</FIGURE>

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gabriel Paiz III				gpaiz@vftis.com	
Valley Forge Tech Info Services		www.vftis.com
Lake Forest, CA 92630
949.460.0094 
Received on Friday, 23 October 1998 12:01:50 GMT

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