Sebastian Rahtz wrote:
> Martin Holmes wrote:
>> But the debate about this is interesting, and the anti-variables
>> arguments are on the whole quite convincing:
> count me as a -1. Bert's a clever guy, but I think he's just wrong....
> if you cite CSS3, I'll cite XPointers.
I'd collate the two previous comments, and quote Bert Bos:
"Even if the implementation cost of constants would be very small, it is
still better to leave them out of CSS. That is a consideration for every
addition to CSS: extending CSS makes implementing more difficult and
programs bigger, which leads to fewer implementations and more bugs.
That has to be balanced against the usefulness of the extension. In the
case of, e.g., hyphenation, the balance is in favor of adding the
extension to CSS: adding all breakpoints as soft hyphens with an
external program is possible, but not practical. In the case of
constants, the balance is in favor of leaving them out of CSS: not only
is replacing constants with an external program practical, it is
actually desirable, because it makes the style sheet shorter (and easier
to read and re-use, as we'll argue below)."
In other words, where you're arguing on the one hand that wishing for
CSS3 implementations is rather wishful thinking (which is what I take
from your comment above), then you can't really argue that CSS should be
even more complicated than it is; let's see some good CSS3
implementations before we move the goalposts yet again.
>> I don't see how CSS is tied to HTML behaviours at all -- I must be
>> missing something there.
> i mean that its incomplete because it does not fully
> describe HTML. eg the behaviour of <a> elements.
I don't think it should have any truck with the behaviour of <a>
elements, should it? CSS is about layout and appearance, not behaviours.
Behaviours are the business of element properties and event handlers.
There is some oddity in the way CSS sticks its nose into the browser
history, with :visited, but it's arguable that it goes too far with
that; I'd be inclined to say that such things should be handled by
scripting, really. The more script-type dynamism finds its way into CSS,
the more likely it is to be a vector for attack, and then people will
start turning it off.
University of Victoria Humanities Computing and Media Centre
([log in to unmask])
Half-Baked Software, Inc.
([log in to unmask])
[log in to unmask]