47
MultiLength
The value may be a Length or a relative length. A relative length has the form
"i*", where "i" is an integer. When allotting space among elements competing
for that space, user agents allot pixel and percentage lengths first, then divide
up remaining available space among relative lengths. Each relative length
receives a portion of the available space that is proportional to the integer
preceding the "*". The value "*" is equivalent to "1*". Thus, if 60 pixels of
space are available after the user agent allots pixel and percentage space,
and the competing relative lengths are 1*, 2*, and 3*, the 1* will be allotted 10
pixels, the 2* will be allotted 20 pixels, and the 3* will be allotted 30 pixels.
MultiLengths
A comma separated list of items of type MultiLength [p.26] .
Number
One or more digits
Pixels
The value is an integer that represents the number of pixels of the canvas
(screen, paper). Thus, the value "50" means fifty pixels. For normative
information about the definition of a pixel, please consult [CSS2] [p.169]
Script
Script data can be the content of the "script" element and the value of intrinsic
event attributes. User agents must not evaluate script data as HTML markup
but instead must pass it on as data to a script engine.
The case-sensitivity of script data depends on the scripting language.
Please note that script data that is element content may not contain character
references, but script data that is the value of an attribute may contain them.
Shape
The shape of a region.
Text
Arbitrary textual data, likely meant to be human-readable.
URI
A Uniform Resource Identifier, as per [URI] [p.170] .
URIs
A space-separated list of Uniform Resource Identifiers, as per [URI] [p.170] .
4.4. An Example Abstract Module Definition
This section is informative
This section defines a sample abstract module as an example of how to take advantage of the
syntax rules defined above. Since this example is trying to use all of the various syntactic
elements defined, it is pretty complicated. Typical module definitions would be much simpler
than this. Finally, note that this module references the attribute collection Common. This is a
collection defined in the XHTML Modularization specification that includes all of the basic
attributes that most elements need.
4.4.1. XHTML Skiing Module
The XHTML Skiing Module defines markup used when describing aspects of a ski lodge. The
elements and attributes defined in this module are:
- 26 -
Modularization of XHTML
4.4. An Example Abstract Module Definition