[uf-discuss] Re: Possible alternative methods for "include"
Toby A Inkster
mail at tobyinkster.co.uk
Fri Feb 8 02:58:44 PST 2008
Paul Wilkins wrote:
> Toby A Inkster wrote:
>> The order of the paragraphs doesn't have a "special significance", yet
>> the paragraphs do have an inherent order. Similarly, the order of class
>> names within a class attribute don't have a special significance
>> attached to them by the HTML spec, but they do still have an inherent
> There is an inherent order, but that order can not be relied upon to
> convey any useful information.
An inherent order is all that is needed by my include pattern. It uses the
inherent order of class names to emulate the inherent order of child nodes.
Such that this:
<p class="#foo bar #baz">
is considered equivalent to the following using current existing include-
<a class="include" href="#foo"></a>
<a class="include" href="#baz"></a>
Both examples take advantage of inherent rather than explicit order. In
the first case the inherent order of class names is used; and in the
second, the inherent order of child nodes. However, my suggested format is
less verbose, creates no "dummy elements" in the DOM and is likely to
cause fewer accessibility problems.
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 126.96.36.199-mm-desktop-9mdvsmp, up 9 days, 17:08.]
The Great IE8 Meta Tag Debacle
More information about the microformats-discuss