The draft seems to contradict itself on this. It introduces
'pseudo-classes' as a means of avoiding the proliferation of 'alternate
properties'. However, the section on text-effect states that the
'alternate properties' should be used to target a drop-cap, and even
contains a dead link (!) to the now defunct alternate-properties section.
I personally don't feel that it makes sense to describe entities like
'first-line' and 'first-letter' as classes. While it is perfectly
understandable that a 'visited anchor' would be considered to be a type of
anchor, I don't see how a paragraph's first line could *itself* be
considered a kind of paragraph. Could a something like a 'pseudo-element'
be used instead? Targeting would then look like:
p $first-line { font-style: small-caps }
> The "economist" example isn't sufficient?
The problem with that example is that while the first letter is enlarged
and vertically lowered, there is nothing to indicate that succeeding text
should flow *around* the letter. The conventional formatting in such a
situation would be:
___
| HE FIRST few words
|
of an article in the
Economist..
rather than
___
| HE FIRST few words
| of an article in the
Economist..
There doesn't seem to be any obvious way to indicate this difference--
perhaps {text-effect: float}? Or {float: left}, as Chris suggested?
> Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
> http://www.w3.org/People/howcome howcome@w3.org
-- Michael Seaton(mseaton@inforamp.net)